Develop
2018.10.19 16:03
[ios] APNS, Remote Push 사용자가 수신을 동의했는지 확인하기
조회 수 1357 댓글 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"); } }
-
[git] 쉬운 버전관리 Git 설명
-
[html] HTML5 튜토리얼 링크 ㅋㅋ
-
[html] SVG(Scalable Vector Graphics) 간단 정리
-
[html] 메타태그 사용예.. 은지나 바라~
-
[html] 캐쉬된 웹페이지 사용하지 않도록 하는 방법
-
[htm] DOM에 대해 ㅎㅎ
-
[ios] UIView 계층구조
-
[ios] @property의 속성 (strong, weak, copy) 사용 경우
-
[ios] AES256 알고리즘을 이용해 데이터 암호화/복호화 방법
-
[ios] APNS 샘플 코드..
-
[ios] APNS 클라이언트 구현 (pdf)
-
[ios] APNS, Remote Push 사용자가 수신을 동의했는지 확인하기