Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Use pre-iOS 7 look and feel on iOS 7

How is it possible to use your pre-iOS 7 look and feel for your app? I just upgraded to iOS 7 and I have some apps on the phone that are still using the pre-iOS 7 look and feel. For instance one app is using the old UIPickerView look but it's running on iOS 7.

When I tested running the app that I am developing on the iOS 7 simulator it's using the new UIPickerView "automatically" without me doing any changes.

So I'd rather that my app uses the pre-iOS 7 look and feel until I have upgraded my app for iOS 7.

Here's an image of running Checkmark on iOS 7, you can clearly see it's using the pre iOS 7 keyboard:

enter image description here

like image 690
Peter Warbo Avatar asked Sep 11 '13 11:09

Peter Warbo


1 Answers

That's rather simple: You have to build your app using the iOS6 SDK. iOS 7 detects older apps by checking the SDK against which the app was linked.

You can switch "Base SDKs" in Xcode by selecting the target, switch to the build settings tab, and find the "Base SDK" build setting under "Architecture".

If you don't have an older SDK you may need to use an older version of Xcode (4.6). Rob Napier describes here how to point a newer Xcode to older SDKs.

Note that while many UI elements retain their iOS 6 look, some don't (UIAlertView, UIActionSheet).

like image 152
Nikolai Ruhe Avatar answered Sep 19 '22 23:09

Nikolai Ruhe