Is there anyway to set values in the settings.bundle from within the APP

前端 未结 1 1696
猫巷女王i
猫巷女王i 2021-01-06 09:20

Is there any way to set/update values in the settings.bundle from within your app. I am fine reading in values from the preferences into NSUserDefaults but was wondering whe

相关标签:
1条回答
  • 2021-01-06 09:39

    You're asking two questions here.

    The first one is if you can update settings from within the application. You assume you can't, but you can quite easily. Just use NSUserDefault's setObject:forKey: method.

    If you want to do in-app settings, I'd start here: How to simplify in app Application Settings management?

    0 讨论(0)
提交回复
热议问题