InAppSettingsKit - set a button to have a disclosu

2019-09-01 18:08发布

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

1条回答
三岁会撩人
2楼-- · 2019-09-01 18:40

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.

查看更多
登录 后发表回答