jdeckman
jdeckman

Reputation: 119

Layout issues when updating app to iOS 7 SDK

My App is nice and working fine in the app store. It even runs on iOS7 with no problems. However when I compile in Xcode 5 (for iOS7) its a disaster. The status bar is missing, the view is all stretched out, it doesn't pause where it should, and my third party advertiser's pop ups don't show up. Anyone know what's going on, at least with the status bar problem?

Upvotes: 4

Views: 2242

Answers (3)

Idan
Idan

Reputation: 9940

Status bar issue can be solved by adding this value to plist: "View controller-based status bar appearance" and set it to "NO".

Upvotes: 1

Patrick Goley
Patrick Goley

Reputation: 5417

Your app was previously build with the 6.0 SDK, which it will use even when running on a device with iOS 7. Now when you build with Xcode 5, you are building against the iOS 7.0 SDK, which introduces many changes from 6.0, and your app will look strange until you make necessary change to fit the paradigm of 7.0. Here is the official iOS 7 Transition Guide that explains how to cope with changes in the SDK.

Upvotes: 4

dtrotzjr
dtrotzjr

Reputation: 945

iOS 7 is a significant update. This is a typical update to iOS 7 SDK scenario. You just need to work through each of the issues one by one.

The way the status bar is handled now is that it is always drawn (unless you hide it) over your content, so you have to provide the backdrop for the status bar. You have limited control over the foreground color of the status bar - basically you can pick between white of black.

See: iOS 7 UI Transition Guide

Upvotes: 1

Related Questions