Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- Flutter UIKitView MethodChannel
- 노티피케이션 익스텐션
- 안드로이드 앨범
- 푸시 데이터 저장
- swift sms
- flutter 회전
- FlutterView MethodChannel
- silent push
- 플러터 뷰 컨트롤러
- 안드로이드 에러
- Swift flutterview
- flutter rotate
- 스위프트 푸시
- 스위프트 웹뷰
- 스위프트 앨범
- Flutter NativeView
- 스위프트 UserDefaults
- 스위프트
- 안드로이드 바로가기
- 앱 백그라운드 푸시 데이터 저장
- swift 문자
- NotificationService Extension
- Swift flutterviewcontroller
- 스위프트 카메라
- swift autolayout
- 앱 꺼졌을 때 푸시 데이터 저장
- 안드로이드 숏컷
- native flutter view
- 스위프트 테이블 뷰 셀
- 안드로이드 FCM
Archives
- Today
- Total
Things take time
[SWIFT] 시스템 버전 값 비교(String Float Compare) 본문
메모 기록용
// standardOS :: Web에서 내려주는 기준 값/ 테스트 완료
let standardOS: String = "14.4.1"
let currentOS = UIDevice.current.systemVersion
let result = currentOS.compare(standardOS, options: .numeric, range: nil, locale: nil)
if result == .orderedAscending{
// currentOS가 standard보다 낮다
print("[Gyeom] result : orderedAscending")
}else if result == .orderedDescending{
// cureentOS가 standard보다 높다
print("[Gyeom] result : orderedDescending")
}else{
print("[Gyeom] result : orderedSame")
}
'iOS (기능)' 카테고리의 다른 글
[SWIFT] CornerRadius 상단, 하단 특정 위치에만 주기 (0) | 2021.06.23 |
---|---|
[iOS] 라이브러리 현재 버전 값 얻기 및 특정 버전 사용 방법 (0) | 2021.06.21 |
[SWIFT] 기기별 해상도(픽셀) 및 인치 구하기 (0) | 2021.04.06 |
[SWIFT] 일정 시간 내 반복 함수를 실행할 때 가장 마지막에 호출한 함수 한 번만 호출하기 (0) | 2020.12.09 |
[iOS 14] Detect Phone Call => non-intrusive 전화 감지 방법 (0) | 2020.10.13 |