InAppSettingsKit-将按钮设置为具有公开图标? [英] InAppSettingsKit - set a button to have a disclosure icon?
本文介绍了InAppSettingsKit-将按钮设置为具有公开图标?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否有一种方法可以将按钮设置为具有显示图标,类似于子窗格说明符?
Is there a way to set a button to have a disclosure icon, similar to the child pane specifier?
推荐答案
如果您使用的是IASKButtonSpecifier
,请不要开箱即用.您的选择是:
Not out of the box if you're using IASKButtonSpecifier
. Your options are:
A)在您的委托中实现-tableView:cellForSpecifier:
并自定义返回的单元格.您首先调用super,然后将单元格的accessoryType
设置为UITableViewCellAccessoryDisclosureIndicator
.
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)将PSChildPaneSpecifier
与自定义视图控制器结合使用.
B) use PSChildPaneSpecifier
combined with a custom view controller.
这篇关于InAppSettingsKit-将按钮设置为具有公开图标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文