Develop
2018.10.19 16:03
[ios] APNS, Remote Push 사용자가 수신을 동의했는지 확인하기
조회 수 1265 댓글 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] In App Purchase 개발
-
이어서 작업할 내용~
-
[js] Closure를 이용해 캡슐화..
-
[js] jQuery 코드 작성시 편리한 HTML 템플릿
-
[js] jQuery 셀랙터(selector) 요약
-
[js] jQuery 배열 루프(each)
-
[js] 객체 머지..
-
[js] jQuery 충돌 회피
-
[js] jQjuery $ 활용
-
[js] 순환참조에 의한 메모리 누수 관련
-
[js] jQuery 치트 시트
-
[js] 이벤트 전파 3단계