Showing posts with label iPhone Version Check. Show all posts
Showing posts with label iPhone Version Check. Show all posts

Thursday, December 16, 2010

How to target a specific iPhone version?

 
 
float version = [[[UIDevice currentDevice] systemVersion] floatValue];
if (version >= 3.0)
    {
    // iPhone 3.0 code here
    }