Develop
2013.09.24 11:31
[ios] 간단한 방법으로 OS버전 확인하기.
조회 수 13328 댓글 0
iOS 개발하는 중 화면사이즈, 라이브러리 로드 등의 문제로 버전 별로 분기가 필요할 때..
NSArray *vComp = [[UIDevice currentDevice].systemVersion componentsSeparatedByString:@"."]; if ( [[vComp objectAtIndex:0] intValue] >= 7) { //do this only for ios7+ // iOS 7 이상~ } else { // iOS 7 미만~ }
-
[ios] iOS 의 인앱구매 소개
-
[js] Array.splice() 설명
-
[ios] 아이폰에서 진동(Vibrate) 기능 추가하기
-
[ios] iOS 사운드 관련 프레임워크
-
[ios] Sprite Kit & 사운드 재생시 백그라운드 진입시 앱이 비정상적으로 종료됨
-
[ios] DatePicker iOS 6.x 이하 디자인.
-
[ios] UIWebView 캐쉬 삭제
-
[ios] UITableView 특정 Row만 Update
-
[linux] resolv.con 초기화 되는 문제
-
[linux] CentOS 6.5 에서 "Bringing up interface eth0: Determining if ip address 121.78.127.197 is already in use for device eth0..."
-
[ios] CoreData 사용하기 (튜토리얼)
-
[ios] SQLite 사용하기(튜토리얼) + 샘플코드