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 | 29 | 30 |
Tags
- tableView
- 리펙터링
- Observable
- swiftUI
- collectionview
- UITextView
- 리펙토링
- UICollectionView
- uiscrollview
- 애니메이션
- swift documentation
- HIG
- Xcode
- uitableview
- clean architecture
- rxswift
- Clean Code
- RxCocoa
- Human interface guide
- combine
- Protocol
- 클린 코드
- MVVM
- Refactoring
- 리팩토링
- SWIFT
- map
- 스위프트
- ribs
- ios
Archives
- Today
- Total
목록unregisterForRemoteNotifications() (1)
김종권의 iOS 앱 개발 알아가기
[iOS - swift] 알람 설정(push setting) 코드에서 확인 방법
시스템 알람 설정에서 on/off 여부 코드에서 확인 방법 let isPushOn = UIApplication.shared.isRegisteredForRemoteNotifications if isPushOn { print("push on") } else { print("push off") } push enable, disable 설정 방법 해당 방법은 앱을 실행하고 있는 경우에 해당 // disable UIApplication.shared.unregisterForRemoteNotifications() // enable UIApplication.shared.registerForRemoteNotifications() 주의: 시스템 설정 영역은 사용자가 선택하여 동작되기 때문에 코드에서 시스템 영역의 push..
iOS 응용 (swift)
2021. 4. 5. 22:17