InAppSettingsKit - set a button to have a disclosure icon?

扶醉桌前 提交于 2019-12-11 23:28:33

问题


Is there a way to set a button to have a disclosure icon, similar to the child pane specifier?


回答1:


Not out of the box if you're using IASKButtonSpecifier. Your options are:

A) implement -tableView:cellForSpecifier: in your delegate and customize the returned cell. You first call super, then set the accessoryType of the cell to UITableViewCellAccessoryDisclosureIndicator.

B) use PSChildPaneSpecifier combined with a custom view controller.



来源:https://stackoverflow.com/questions/18211157/inappsettingskit-set-a-button-to-have-a-disclosure-icon

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!