Is There A Way I Can Require Ios5 Or Ios6?

Is there a way I can require iOS5 or iOS6 with Corona SDK? Or do I need Enterprise to do that?

I’m using the iOS Built in Twitter feature which requires iOS5.

I know with XCode you can set a deployment target to require iOS5 or iOS6, but I’m not sure if there’s a way to do that when building in Corona.

Thanks in advance!

Ben

Hi Ben,

Please refer to the following guide under “iOS Build Settings” (see the “MinimumOSVersion” setting).

http://docs.coronalabs.com/guide/distribution/buildSettings/index.html#iOSsettings

Regards,

Brent Sorrentino

Yup it’s very easy actually!

In your build.settings you should see this:

    iphone = {

        plist = {

            UIStatusBarHidden = true,

         }

    },

Just add another key MinimumOSVersion and set it to whatever you want (in string form). Should look like this when done:

    iphone = {

        plist = {

            UIStatusBarHidden = true,

            MinimumOSVersion = “5.0”,

         }

    },

The above will not let the app be installed on devices running iOS 4.x and under.

Hope this helps!

-Treb

@Brent I must have been writing my response when you posted, sorry about that!

-Treb

Thanks for the super quick replies! I totally missed that in the docs, but glad it’s super easy to do!

Not to hijack the thread, but besides “integrated Twitter functionality,” is there a chart or list to show what native features or changes are in which iOS in order to set such a minimum requirement?  I’m a version number freak and always update to the latest, but I’ve seen over the years that people really don’t do it as often as they should, and I don’t want anything resulting in poor ratings or few stars because of something they or I were expecting or not expecting to have on their device, etc.

I don’t know if there is a comprehensive list anywhere, but you should be pretty good with iOS 5 as a minimum. It supports all generations of iPad and 3rd gen + for phones/iPod Touch (which is about three years old at this point). With over the air downloads and the notification icon for updates I have to believe people are upgrading much more frequently than they previously did.

That’s my two cents anyways, but I agree a nice feature list would be great for reference.

-Treb

Hi Ben,

Please refer to the following guide under “iOS Build Settings” (see the “MinimumOSVersion” setting).

http://docs.coronalabs.com/guide/distribution/buildSettings/index.html#iOSsettings

Regards,

Brent Sorrentino

Yup it’s very easy actually!

In your build.settings you should see this:

    iphone = {

        plist = {

            UIStatusBarHidden = true,

         }

    },

Just add another key MinimumOSVersion and set it to whatever you want (in string form). Should look like this when done:

    iphone = {

        plist = {

            UIStatusBarHidden = true,

            MinimumOSVersion = “5.0”,

         }

    },

The above will not let the app be installed on devices running iOS 4.x and under.

Hope this helps!

-Treb

@Brent I must have been writing my response when you posted, sorry about that!

-Treb

Thanks for the super quick replies! I totally missed that in the docs, but glad it’s super easy to do!

Not to hijack the thread, but besides “integrated Twitter functionality,” is there a chart or list to show what native features or changes are in which iOS in order to set such a minimum requirement?  I’m a version number freak and always update to the latest, but I’ve seen over the years that people really don’t do it as often as they should, and I don’t want anything resulting in poor ratings or few stars because of something they or I were expecting or not expecting to have on their device, etc.

I don’t know if there is a comprehensive list anywhere, but you should be pretty good with iOS 5 as a minimum. It supports all generations of iPad and 3rd gen + for phones/iPod Touch (which is about three years old at this point). With over the air downloads and the notification icon for updates I have to believe people are upgrading much more frequently than they previously did.

That’s my two cents anyways, but I agree a nice feature list would be great for reference.

-Treb