参考http://iphoneincubator.com/blog/tutorial/how-to-create-an-iphone-preferences-file
基本做法是
1. 创建一个Settings文件,添加Root.plist文件,内容格式如:
2. 保存后,更改Settings文件夹名字为Settings.bundle,然后在xcode里面添加这个bundle文件
3. build and go,然后退出app就可以在系统设置里面找到该app的设定了。
更新:
发现现在已经有新的方法生成Settings.bundle,详见http://knol.google.com/k/iphone-sdk-application-preferences# ,很不错的介绍。
补充: Preference几个参数值类型可参见http://developer.apple.com/iphone/library/documentation/preferencesettings/conceptual/settingsapplicationschemareference/Introduction/Introduction.html#//apple_ref/doc/uid/TP40007005-SW1