简体   繁体   English

我可以使用XCode中的“设置包”编辑器来指定“设置”以外的UI吗?

[英]Can I use the Settings Bundle editor in XCode to specify UIs other than those for Settings?

The Settings Bundle editor in XCode (New->File->iOS->Resource->Settings Bundle) seems like a convenient tool for rapidly specifying a large range of user interfaces other than just user preferences. XCode中的“设置包”编辑器(“新建”->“文件”->“ iOS”->“资源”->“设置包”)似乎是一种方便的工具,用于快速指定除用户首选项以外的各种用户界面。 Is there any way to use this tool and the .plist mechanism for declaratively specifying user interfaces in general, rather than just for user defaults? 有什么方法可以使用此工具和.plist机制来一般性地声明性地指定用户界面,而不仅仅是用户默认值?

In other words, can I create a settings bundle (but not for settings) and programmatically load it from my application bundle and have iOS generate a view (and controller?) from it within my application? 换句话说,我可以创建一个设置捆绑包(但不能用于设置)并以编程方式从我的应用程序捆绑包中加载它,并让iOS在我的应用程序中从中生成视图(和控制器吗?)?

It sounds like you want something like In App Settings Kit . 听起来您想要In App Settings Kit中的东西。 This will let you make a settings page identical to the iphone one but inside your app. 这样一来,您可以在应用程序内部创建与iphone相同的设置页面。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何从1 xcode项目中保存所有构建设置并在其他xcode项目中使用它们? - How can I save all my build settings from 1 xcode project and use them on other xcode projects? 在iPhone的xcode中设置捆绑包 - Settings Bundle in xcode for iphone 如何在 iOS 设置包中为 slider 指定暗/亮模式图像? - How can I specify dark/light mode images for a slider in an iOS settings bundle? 如何在iOS设置包中指定多行标题? - How do I specify a multiline title in an iOS Settings bundle? Xcode 7 Settings.Bundle每次更改时,bundle在设置中为空 - Xcode 7 Settings.Bundle everytime I make a change the bundle is empty in settings 如何在Settings.bundle中的xCode中添加额外的plist以与InAppSettingsKit iPhone库一起使用? - How do I add extra plists in xCode in the Settings.bundle for use with the InAppSettingsKit iPhone library? 如何在我的settings.bundle中使用UIPickerView,例如“ nike + ipod”应用程序是如何做到的? - How can I use a UIPickerView in my settings.bundle like how the 'nike+ ipod' app does it? 如何在XCode 4.2中编辑Settings.bundle - How to edit Settings.bundle in XCode 4.2 settings.bundle xcode 6中的子窗格 - child pane in settings.bundle xcode 6 在 Swift/Xcode 6 中返回设置包开关的值 - Returning the value of a settings bundle switch in Swift / Xcode 6
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM