开发者

accessoryType in the left side

Is there any way to set the accessoryType of the cell to be in the left side?

the code i use:

cell.accessoryType = UITableViewCellAccessoryDetailDisclosureButton;

in this condition the accessoryType button is on the right side and i want it in the left side. I tried also to build a custom cell be in the IB when i chose accessor开发者_运维知识库y it put it automatic in the right side also.


No, but you can set the cell's imageView.image property to a UIImage of your choice.

If you re-use Apple's disclosure button images, you might run into issues getting your app accepted, so you might want to create your own disclosure icons.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜