开发者

Settings application required

My app use a Settings bundle to manage preferences from the Settings application.

How can I make mandatory the inclusion of these preferences? If开发者_StackOverflow中文版 the user starts the application without having set its preferences I can tell to the user that before using the application should set preferences?

Many thanks!


The more user-friendly way to do this would be to have a setup screen that asks for the required information if it has not been entered yet.

To detect if anything has been set, just check the return from [NSUserDefaults objectForKey:]. If it is nil, then you know that nothing has been entered yet.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜