1.在模拟器上本来好好的,一切正常,在模拟器的setting里面是可以正常看见配置中的信息.也能够在程序中读取到内容.
2.但是我用adhoc部署到ipad上以后,怎么都不显示,setting里面始终没有我的app选项.郁闷死了.
以下是网上收集的一些解决办法:
1.中文的讨论中,似乎透露了一个问题,貌似越狱过的,和使用非$99部署的程序,setting里面都无法显示,解决办法还是只好自己在程序里面加个视图来设置了.(可我用的就是$99的证书,这都无法显示,我很费解)
2.google上搜索到得国外的讨论,是这样说的,贴上原文,以免我翻译不准确.
Re: Application Settings not showing up on iPhone
I finally figured out the solution to the problem...
When I added the resource bundle,I added it to the main level of the project. While this works fine for the simulator,it does not work on the iPhone. I moved the settings bundle so that it's under the "Products" section. And Now the settings show up in both the simulator and on my iPhone. No idea if this is the expected behavior or not,but at least it's working Now.
===意思应该是说,他把setting.bundle移动到了Products的分类下,而不是在原始的resource下,这样就好了.
The fact of the matter is that once the Settings bundle is recognized by the iPhone system subsequent attempts to update it do not work. You must delete your application from the iPhone and then reinstall it for a changed Settings bundle to have an effect.
===
还有个回答,说事实是,这个东西不显示,需要通过删除掉整个应用程序,然后重新安装,但是重新安装的时候,一定要重新修改以下setting中的值,然后再安装.我的理解可能是,默认安装进去的setting有个默认值,如果没有改变,settting里面就不显示出来了.
总之回家试试,看能有效不?