UIButton in UITableView cell like “Delete Event”

后端 未结 5 1793
误落风尘
误落风尘 2020-12-08 09:26

I\'d like to add a button to a table cell. The \"Delete Event\" in the calendar app inspired me... (a similar case is \"Share Contact\" in contacts)

As of now there\

5条回答
  •  臣服心动
    2020-12-08 09:43

    Yes, you are on the right track, that's the easiest way to add a subview to a cell (the other is subclassing a UITableViewCell).

    Check the Apple guide for more info.

提交回复
热议问题