[英]What is the best way to save iphone app settings?
I'd like to allow user to change the setting of app. 我想允许用户更改应用程序的设置。 But I am not sure where shall I save the configuration.
但我不知道在哪里可以保存配置。
Is there any local space allocated for app? 是否为app分配了任何本地空间?
You should use the NSUserDefaults
class for storing settings. 您应该使用
NSUserDefaults
类来存储设置。 It's all documented . 这些都记录在案 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.