Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个启用了编辑的 UITableView。当点击减号按钮时,我想隐藏单元格的特定元素,但找不到检测减号按钮被点击的方法。有人知道如何检测吗?
您必须继承 UITableViewCell,并实现方法 willTransitionToState