开发者

accessoryType in the left side

开发者 https://www.devze.com 2023-01-09 03:35 出处:网络
Is there any way to set the accessoryType of the cell to be in the left side? the code i use: cell.accessoryType = UITableViewCellAccessoryDetailDisclosureButton;

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

精彩评论

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