Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

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

Options
  • 10-12-2009 9:54pm
    #1
    Registered Users Posts: 4,433 ✭✭✭


    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