ln1aqw
Last Updated: February 25, 2016
·
1.688K
· mystcolor
Avatar 400

Force to use Legacy UI on iOS 7 apps

Put this in your app delegate.

[[NSUserDefaults standardUserDefaults] setObject:@YES forKey:@"UIUseLegacyUI"];
[[NSUserDefaults standardUserDefaults] synchronize];

You'll need to restart your app to take effect :)

Say Thanks
Respond

2 Responses
Add your response

10194
2ea53c201be56d6b80526cb5462a709f

Did you submit an app with this code?
IMHO, it probably will not be acceptible on the AppStore due to use of private and probably future-unsupported API.

over 1 year ago ·
10196
Avatar 400

No I didn't try, and as you said I don't recommended this for production use. However it's useful to preview your app back in iOS 6 environment on iOS 7 devices/simulator.

over 1 year ago ·