iOS Publishing to multiple ios version
NickName:Lücks Ask DateTime:2013-12-10T23:09:02

iOS Publishing to multiple ios version

I'm developing a iOS app for iOS 7, the UI reflects this iOS version. But, I want to publish to others iOS's, like 6 or 5 too. So, I'll change my UI and the target iOS version. I have to save other project, with this modifications? How I'll publish the same app for differents iOS versions? Thanks and sorry for the stupid question, I didn't find anything about it.

Copyright Notice:Content Author:「Lücks」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/20497973/ios-publishing-to-multiple-ios-version

Answers
Ike 2013-12-10T15:22:02

You should do this within a single app and it will run on whichever versions you've allowed. Start by setting your deployment target to the oldest version you want to support.\n\nBy using constraints or basing UI dimensions on known constants, you can accomplish most tasks that are OS version dependent. \n\nA big issue to handle is the differences in how the status bar and transparent bars in iOS 7 are displayed. If you're using Interface Builder, you can use the View inspector on the right-side bar in XCode to set iOS6/7 Deltas that are applied depending on the version being run. You can also preview the differences in IB by selecting the root view of your xib and opening Identity inspector. Under Interface Builder Document, change \"View as\" to the OS version you want to see.\n\nIf all else fails, you can test for the OS version in code to write custom code for a version.\n\nFor example:\n\nif (floor(NSFoundationVersionNumber) <= NSFoundationVersionNumber_iOS_6_1) {\n //ios 6 code \n\n} else {\n //ios 7 code\n\n}\n",


Popeye 2013-12-10T15:18:33

In your app set the Deployment Target to iOS 5.\n\nWhen it comes to UI have a read of this Apple Doc on iOS 7 transition guide.\n\nOnes you have read that and understand it then you can move onto actually creating your UI.\n\nWhen I have created my UI's based on iOS version I have a prepocessor macro set \n\n#define IOS_VERSION() [[UIDevice currentDevice] systemVersion];\n\n\nThis is set in my ***-Prefix.pxh file so I can access it throughout my app.\n\nThen I can check this with a simple if statement like so\n\nif(IOS_VERSION => 7.0) {\n // Do our iOS 7 stuff here\n} else {\n // Do everything else, you could add else if to check 6.0, 5.0 even 4.0\n}\n\n\nremember to wrapper some method calls in if statements as well. Like:\n\nif([object respondsToSelector:@selector(setTitle:forState)]) {\n // object being whatever object you are wanting to work on UIButton, UILabel, UIView. \n // The reason for this is some methods will be in iOS 7 or even 6 but not in iOS 5\n // so if you called them methods you will received unrecognised selector excpetion.\n}\n\n\nYou can also do somethings using interface build see the link I have provided for how to on interface builder.\n\nYour design will differ based on iOS version. If you run on iOS 7 it will have the new flat UI look whilst if you build on other iOS it will have the old look. When moving over to the new look there wasn't many differences that we had to fix in our apps but we did have to fix some things. I would recommend building for either iOS 5 and 6 first and then 7 or the other way get it right in one before moving on.",


More about “iOS Publishing to multiple ios version” related questions

iOS Publishing to multiple ios version

I'm developing a iOS app for iOS 7, the UI reflects this iOS version. But, I want to publish to others iOS's, like 6 or 5 too. So, I'll change my UI and the target iOS version. I have to save other

Show Detail

Publishing to App Store using older Xcode version

What happens to an app that's published to the App Store using an older version of Xcode? Let's say we're on Xcode 9 with comes with iOS 11 then I'm publishing the app built targeting iOS 11. Will

Show Detail

Actual version of iOS I need from, to publish new app to Appstore

Where can I find information which actual version of iOS I need for publishing new app to AppStore? I mean where in apple guide lines, I can see something like this: "For now when you publishing y...

Show Detail

Xamarin iOS - Archive for Publishing: Could not resolve reference Mono.Android

I've been developing a Xamarin app for both Android and iOS, and after publishing to Google Play now would like to launch on the Apple App Store as well. I have installed Visual Studio 2019 on a Ma...

Show Detail

Minimum iOS target version that Apple accepts in AppStore?

I have an application that I would ideally like to run on all iOS versions, however I think Apple accepts apps only from a version and above (3.0 I think, but not sure). So my question would be, wh...

Show Detail

In app purchase not working after publishing iOS app to App Store

During development I've created test accounts which are able to obtain the price of the in app purchase as well as actually purchasing it without an issue. However after publishing the iOS app to App

Show Detail

Publishing beta version of an app as Production version

Until now we have been releasing beta version of our Android app as beta version (publishing it on open track). Now we have a task to release our app as production-ready version (publishing it on

Show Detail

Xamarin.iOS - Publishing App - Invalid Swift Support

I've been struggling publishing my iOS app for review with the following error: Invalid Swift Support - The SwiftSupport folder is missing. Rebuild your app using the current public (GM) version...

Show Detail

Xamarin.iOS - Unable to archive for publishing

I'm having to rebuild 2 client Enterprise Apps and I've been able to build a release .ipa for one of them but for the other App I'm unable to archive for publishing. The build error is: /Library/

Show Detail

iOS publishing - Ionic 2

I followed this guide on publishing my ionic project. Things changed a bit from Ionic 1, especially inside the portal of Apple Developer Program but using a bit of logic the steps are pretty much...

Show Detail