Frage

I have a existing iOS 6.x project that I developed using XCode 4.x and iOS 6.x and haven't had a chance to get to the App store. I would like to make it work with iOS 7 and also support iOS 6.x devices. I opened the project in XCode 5.0.2 and it complies and runs fine. The only change I think I need to do is UITableView is not looking right as the border lines are off. I'm building the table view thru code.

Also, I'm not using storyboards but using iPhone and iPad specific NIBs.

So, what is the recommended approach?

Create a new brand project in XCode 5 and create the UI and import the code for the methods OR open the iOS 6.x project in XCode 5 and continue with my updates to the code?. I also wanted to support OS 6.x. Do I have to download iOS 6.x SDK and test it along with iOs 7 in XCode 5?

My 4S is jailbroken and running on iOS 6.1.2 and using jailcoder to run on 4S directly.

Please advise.

War es hilfreich?

Lösung

No need to start a new project. Just open it in Xcode and it will be upgraded. Make sure you compile against the latest Base SDK, while allowing a minimum deployment target of what you need (iOS6/iOS6.1). You can use the new preview assistant view in interface builder to simulate how it would look in iOS6 and iOS7. You can set deltas in interface builder to set different values between iOS7 and iOS6.

You can download the iOS6.1 simulator from Xcode 5 settings.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top