iOS setting.bundle issue with iOS 8 at simulator

大城市里の小女人 提交于 2019-11-29 02:30:35

问题


when I use iOS 7 simulator ,

setting.bundle in my project can work effectively . I change app settings by toggle switch and then immediately in to app setting again,the value changed as I just do.

but when go run iOS 8 simulator , every change in my custom-app-settings are not stored.

I have tried rebooting the device / reinstalling the app. It seems the switch has no effect only in iOS 8 simulator?

step:1 toggleswitch, change value and go back.

step:2 the same


回答1:


This has been fixed in Xcode 6.1 GM seed. simulator saves settings now :)




回答2:


I think is an XCode issue. Using XCode 6 beta6/ Beta7 / GM the Settings bundle work on iOS7 simulators but not 8. The changes you make are supposed to be saved to the following path:

/Users/<User Name>/Library/Application Support/iPhone Simulator/<iOS Version>

However the iOS versions there don't include 8. I am waiting for the final XCode version.




回答3:


It is normal now at Xcode 6 beta 7.@@




回答4:


I have the problem actually on my device. I can change the settings once, but when I switch the toggle back to it's default value it does not have any effect on my app (metric/imperial units)



来源:https://stackoverflow.com/questions/25134171/ios-setting-bundle-issue-with-ios-8-at-simulator

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!