开发者

uitableviewcell disclosureindicator accessoryview alignment

Is it开发者_开发技巧 possible to change accessory view position/alignment on UITableViewCell (By default it center align) ?


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)
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜