问题描述
我很好奇:有没有办法将 iOS 7 应用程序设置为以旧时尚的 iOS 6 视觉外观运行?我知道 UIAppearance
协议,但为每个单独的元素设置外观似乎有点麻烦.
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.
推荐答案
更新:不再可能上传针对 iOS6 SDK 的应用程序.
Update: It is no longer possible to upload apps targeting the iOS6 SDK.
简短回答:使用 SDK6 编译,但仍然可以.然而,最终,Apple 会否认这一点.
Short answer: Compile with SDK6, while it is still possible. Eventually, Apple will deny this, however.
如果您喜欢冒险,请尝试:[[NSUserDefaults standardUserDefaults] registerDefaults:@{ @"UIUseLegacyUI": @YES }];
If you are feeling adventurous, try:[[NSUserDefaults standardUserDefaults] registerDefaults:@{ @"UIUseLegacyUI": @YES }];
(不过,请不要提交您的应用.)
(Don't submit your apps with this, however.)
这篇关于为 iOS 7 应用程序使用 iOS 6 主题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!