开发者

iPhone: how do I add the discolsure and delete icons to a UITableView?

I need to have a disclosure and delete icon on my UITableView how do I add them ?

I think the delete doesn't show all the time ? a开发者_运维问答lthough I'm not sure about this, can someone advise?


complete tutorial for disclosure button

complete tutorial for delete button


For the disclosure, you can set the accessoryType property in the desired cell. For the delete button you should enable the "editing" property of the table, and set the "editing style" property of the cell. You should also use the "editing" property of the table to switch between edit mode and regular.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜