Peter Warbo
Peter Warbo

Reputation: 11718

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

Upvotes: 7

Views: 5051

Answers (4)

MobileMon
MobileMon

Reputation: 8661

Not only do you need to build your app using iOS 6 SDK or earlier, you need to use Xcode 4.6 or earlier. I just went through all of this and targeting iOS 6 SDK from Xcode 5 is just not enough.

Luckily you can dual install both versions of Xcode. Just download Xcode 4.6 and drop it in your Applications Folder and rename is to something else

Upvotes: -1

Nikolai Ruhe
Nikolai Ruhe

Reputation: 81868

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).

Upvotes: 10

Elechtron
Elechtron

Reputation: 179

On a device running iOS 7, all of the system UI—such as alerts and notifications—uses the iOS 7 appearance, even if your app is currently using an earlier appearance.

From Apple transition guide: https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/TransitionGuide/SupportingEarlieriOS.html#//apple_ref/doc/uid/TP40013174-CH14-SW1

Upvotes: 0

Nicholas Smith
Nicholas Smith

Reputation: 11754

If you're using the standard UI components you're going to automatically get the new style on iOS 7, there's no way I've come across to force them to appear as they would in iOS 6. The only way you're going to be able to have them appear as iOS 6 elements is to build custom elements and style them yourself, however there's a risk in doing that that when you submit to Apple they'll reject on the basis of breaking the HIG.

Upvotes: 0

Related Questions