Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Updating my app to 3.0 OS. Will it break 2.2.1 version

  • 10-12-2009 09:54PM
    #1
    Registered Users, Registered Users 2 Posts: 4,461 ✭✭✭


    I released an app earlier this year and at the time the OS on the iPhone was 2.2.1 and as we know 3.0 came along. Now I am in the process of updating my app and I have added a function that is only available in 3.0. I have also fixed the code that was deprecated in 3.0.

    My question is what will happen to the app if a user updates but has not got 3.0 on their device?

    Should I use the following:
    float version = [[[UIDevice currentDevice] systemVersion] floatValue];
    	
    if (version >= 3.0) 
    {
    iPhone 3.0 code here
    }
    
    Tagged:


Advertisement