开发者

uitableview cell accessory type (customized)

开发者 https://www.devze.com 2023-03-14 03:23 出处:网络
we tried to add a UIButton (like here) to a container view (container.addSubView: button), and then assign that container to the accessory view of the cell : (cell.accessoryView = con开发者_StackOverf

we tried to add a UIButton (like here) to a container view (container.addSubView: button), and then assign that container to the accessory view of the cell : (cell.accessoryView = con开发者_StackOverflowtainer), but when we open the table view it does not show that accessory view ... why ?


Make sure you set the frame on the accessory view.

0

精彩评论

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