Contents

?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print

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");
    }
}



?

List of Articles
No. Category Subject Author Date Views
445 Develop [ios] Locale Identifiers file hooni 2018.11.29 1750
444 Develop [ios] libxml/tree.h file not found file hooni 2013.08.08 18773
443 Develop [ios] iphone SetDeviceOrientation 화면 강제 회전 hooni 2013.11.20 18518
442 Develop [ios] iOS에서 디바이스 종류 알아오기 hooni 2014.05.24 3766
441 Develop [ios] iOS앱의 Xcode 빌드 과정 file hooni 2015.01.03 2409
440 Develop [ios] iOS 의 인앱구매 소개 file hooni 2014.04.29 3907
439 Develop [ios] iOS 앱 아이콘을 만드는 유틸 file hooni 2015.01.03 955
438 Develop [ios] iOS 사운드 관련 프레임워크 hooni 2014.04.18 3084
437 Develop [ios] iOS In App Purchase 코드 부분 샘플 2 hooni 2013.11.20 11340
436 Develop [ios] iOS In App Purchase 코드 부분 샘플 1 hooni 2013.11.20 11806
435 Develop [ios] iOS In App Purchase #2 (코드 구현) file hooni 2013.11.20 13812
434 Develop [ios] iOS In App Purchase #1 (코드 구현 전 웹 설정 작업) file hooni 2013.11.20 14559
Board Pagination Prev 1 ... 29 30 31 32 33 34 35 36 37 38 ... 71 Next
/ 71