user478681
user478681

Reputation: 8329

uitableviewcell disclosureindicator accessoryview alignment

Is it possible to change accessory view position/alignment on UITableViewCell (By default it center align) ?

Upvotes: 1

Views: 1376

Answers (1)

Diamond OSSAN
Diamond OSSAN

Reputation: 25

No you cannot by using any apple provided API but you can create your own view and place it at the right side of the cell.

You just need to set the frame of that uiview object while creating that object or by frame property, like this

UIView *viewObject = {[UIView alloc] initWithFrame:CGRectMake(280, 10, 25, 25)];

or

viewObject.frame = CGRectMake(280, 10, 25, 25)

Upvotes: 2

Related Questions