Get iPhone iOS Version

iPhone SDK Tips & Tricks

NSLog(@"%@", [[UIDevice currentDevice] systemVersion]);