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] 로컬에 있는 JS 파일 웹뷰에서 동적으로 실행하기
-
[ios] Xcode에서 특정 파일만 ARC 따로 설정하는 방법
-
[ios] 상위 ViewController 가져오기
-
[ios] 오브젝티브C→스위프트, 코드 변환 손쉽게
-
[ios] APNS, Remote Push 수신 시점에서 앱의 3가지 실행 상태
-
[mac] VirtualBox 실행 스크립트와 bash_profile 설정
-
[mac] 패키지 매니저, MacPort
-
캘리포니아 운전면허 문제
-
'2014 모바일 개발 트렌드' 발표자료입니다.
-
RSVP 란?
-
[svn] Can't convert string from native encoding to 'UTF-8' 메시지가 나오는 경우
-
[ios] Xcode의 디버그 모드에서 콜스택