iOS setting.bundle issue with iOS 8 at simulator

2019-02-02 23:32发布

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. enter image description here

step:2 the same enter image description here

4条回答
再贱就再见
2楼-- · 2019-02-03 00:01

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)

查看更多
爷、活的狠高调
3楼-- · 2019-02-03 00:08

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.

查看更多
Summer. ? 凉城
4楼-- · 2019-02-03 00:08

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

查看更多
Rolldiameter
5楼-- · 2019-02-03 00:13

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

查看更多
登录 后发表回答