简体   繁体   English

是否可以从程序更改iPhone应用程序设置?

[英]Is it possible to change iphone application settings from program?

Is it possible to change the application's settings menu from the program. 是否可以从程序中更改应用程序的设置菜单。 For example if I have a list of options the user chooses from in the settings menu, is it possible to load those options from a JSON string, rather than specify them when creating the application settings menu? 例如,如果我有用户在设置菜单中选择的选项列表,是否可以从JSON字符串加载这些选项,而不是在创建应用程序设置菜单时指定它们?

No the settings will be created with the bundled settings plist file. 捆绑的设置plist文件不会创建任何设置。 The only way for you to change them programmatically is by using the NSUSerDefaults while your app is running. 以编程方式更改它们的唯一方法是在应用程序运行时使用NSUSerDefaults。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM