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.
Is there a way to set a button to have a disclosure icon, similar to the child pane specifier?
如果您使用IASKButtonSpecifier. 您的选择是:
IASKButtonSpecifier
A)-tableView:cellForSpecifier:在您的委托中实施并自定义返回的单元格。您首先调用 super,然后将accessoryType单元格的设置为UITableViewCellAccessoryDisclosureIndicator。
-tableView:cellForSpecifier:
accessoryType
UITableViewCellAccessoryDisclosureIndicator
B)PSChildPaneSpecifier与自定义视图控制器结合使用。
PSChildPaneSpecifier