int version = [[[UIDevice currentDevice].systemVersion componentsSeparatedByString:@"."] objectAtIndex:0] intValue];
if (7 <= version) { NSLog(@"version 6 or below");
}
반응형
'iPhone' 카테고리의 다른 글
| iOS CLLocationManager 바뀐점 8.0 (0) | 2014.10.22 |
|---|---|
| playing NSSound asynchronously (0) | 2014.01.27 |
| ios7 setting status bar style (0) | 2014.01.03 |
| 아이폰 가격에 대하여 (0) | 2013.10.27 |
| find view (0) | 2013.09.24 |