Develop
2018.10.19 16:03
[ios] APNS, Remote Push 사용자가 수신을 동의했는지 확인하기
조회 수 3350 댓글 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"); } }
-
[python] 파라미터 앞에 *, ** 의 의미? (*args, **kwargs)
-
[linux] The Ultimate Wget Download Guide With 15 Awesome Examples
-
ISMS 인증기준 – 정보보호대책 (시스템개발보안)
-
[ios] Locale Identifiers
-
[ppt] Information Security 발표 자료 (@Team Study 2012.11.15)
-
[ios] XCode에서 Provisioning Profile 여러개 중복될 때
-
[python][django] request.cookie 읽어오기 ㅋㅋㅋ (쓰기)
-
iptime 공유기 해킹 기술문서
-
맥 OS X 에서 스크린 화면 캡쳐 단축키 (Mac Print Screen)
-
[ios] 설정에서 푸시 알림(APNS) on/off 상태 확인
-
[android] SQLiteOpenHelper를 이용한 DBManager
-
[js] 문자열에서 숫자만 걸러내기 (jQuery 안쓰고 정규표현식)