问题描述
我很好奇:有没有办法设置iOS 7应用程序以旧时尚iOS 6视觉外观运行?我知道 UIAppearance
协议,但设置每个元素的外观似乎有点麻烦。
更新:无法再上传针对iOS6 SDK的应用。
如果您有冒险精神,请尝试:
[[NSUserDefaults standardUserDefaults] registerDefaults:@ {@UIUseLegacyUI:@ YES}];
(不要提交你的然而,有这个应用程序。)
I am curious: is there a way to set an iOS 7 app to run with the old fashion iOS 6 visual appearance? I am aware of the UIAppearance
protocol but setting the appearance for each individual element seems to be a bit of hassle.
Update: It is no longer possible to upload apps targeting the iOS6 SDK.
Short answer: Compile with SDK6, while it is still possible. Eventually, Apple will deny this, however.
If you are feeling adventurous, try:[[NSUserDefaults standardUserDefaults] registerDefaults:@{ @"UIUseLegacyUI": @YES }];
(Don't submit your apps with this, however.)
这篇关于为iOS 7应用程序使用iOS 6主题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!