Develop
2018.10.19 16:03
[ios] APNS, Remote Push 사용자가 수신을 동의했는지 확인하기
조회 수 1353 댓글 0
AppDelegate에 위의 메서드를 추가하면 수신 동의 후 device token 수령 성공/실패와 무관하게 push 다이얼로그에서 사용자의 선택이 허용인지 비허용인지를 알 수 있다.
- (void)application:(UIApplication *)application didRegisterUserNotificationSettings:(UIUserNotificationSettings *)notificationSettings { if ((notificationSettings.types & 1) == UIUserNotificationTypeNone) { NSLog(@"user selected NO"); } else { NSLog(@"user selected YES"); } }
-
[ios] Background 에서 네트워크 사용
-
[ios] App States
-
[ios] APNS에 사용할 인증서 만들기 (KeyChain에 있는 인증서 Export)
-
[ios] APNS, Remote Push 수신 시점에서 앱의 3가지 실행 상태
-
[ios] APNS, Remote Push 사용자가 수신을 동의했는지 확인하기
-
[ios] APNS 클라이언트 구현 (pdf)
-
[ios] APNS 샘플 코드..
-
[ios] AES256 알고리즘을 이용해 데이터 암호화/복호화 방법
-
[ios] @property의 속성 (strong, weak, copy) 사용 경우
-
[ios] UIView 계층구조
-
[html] 캐쉬된 웹페이지 사용하지 않도록 하는 방법
-
[html] 메타태그 사용예.. 은지나 바라~