在设置 plist 中设置标题
我正在设置包中为应用程序创建设置 plist(root.plist),并且像往常一样,在表格视图中提供一些选项。 plist 有一些子视图,当我们单击这些选项中的任何一个时,就会出现这些子视图。问题是导航栏上的标题取决于单击的选项的标题。那么,如何在应用程序设置中为我的子视图添加自定义标题?有可能吗?
I'm making the settings plist(root.plist) for an app in the settings bundle and, as usual, have some options in a table view. The plist has some child views which come up when we click any of these options. The problem is that the title that comes on the navigation bar depends on the title of the option that was clicked. So, how do I put a custom title for for my child views in the application settings? Is it even possible?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不幸的是,正如您所注意到的,导航栏标题与所选选项的标题相同。因此不可能将其自定义到应用程序设置中。
为了获得更多控制,您必须自己在应用程序中实施设置。
Unfortunately, and as you noticed, the NavBar title is the same as title of the selected option. So it's impossible to customize it into the Application Settings.
To have more control, you have to implement settings by yourself into your application.