Made an iOS4 app, want to support 3.2 as well.

Discussion in 'iOS Programming' started by zerocustom1989, Aug 15, 2010.

  1. macrumors regular

    Sep 5, 2007
    Hey guys, I've got an app on the Appstore and for the 2.0 release I wanna support OS 3.2. What are some things I need to take into consideration?

    I think the ios4-only thing I use is iAds, how can I make sure that code is only run if the App is being run on a 4.0+ device?

    I haven't had to deal with version-ing yet, so it's foreign to me.
  2. thread starter macrumors regular

    Sep 5, 2007
    Well, I found out I can check the device software like this:
    if ([[[UIDevice currentDevice] systemVersion] floatValue] <3.2)
    Now im just wondering how I can get Xcode to build and run a target that runs on both 3.2 and 4.0 I'm having trouble getting it to simulate just be setting the simulator to 3.2.
  3. macrumors 6502a

    Nov 9, 2007
    Colchester, UK

Share This Page