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
57 Develop [api] 인스타그램 API Access_Token 발급 방법 (Instagram API) 3 file hooni 2018.04.05 7555
56 Develop [php] Connect to Firebase Console in Laravel file hooni 2018.05.09 3110
55 Develop [PHP] MacOS에서 PHP 7 설치하기 file hooni 2018.05.11 4878
54 Develop [ios] Requesting Location Permissions in iOS file hooni 2018.08.18 1599
53 System/OS 서버 확장을 위한 두 가지 방법 file hooni 2018.08.29 2098
52 System/OS Mac에서 Node.js 설치하기 file hooni 2018.09.28 4187
51 Develop [ios] Swift 4 String, Date, DateFormatter 예제 hooni 2018.10.18 1394
50 Develop [ios] APNS, Remote Push 수신 시점에서 앱의 3가지 실행 상태 hooni 2018.10.19 965
» Develop [ios] APNS, Remote Push 사용자가 수신을 동의했는지 확인하기 hooni 2018.10.19 1250
48 Develop [ios] Swift 4 Singleton inheritance hooni 2018.10.31 1588
47 Develop [ios] Swift 4 Dictionary 사용하기 file hooni 2018.11.29 2023
46 Develop [ios] Locale Identifiers file hooni 2018.11.29 1621
Board Pagination Prev 1 ... 89 90 91 92 93 94 95 96 97 98 Next
/ 98