2014-09-18 2 views
0

내가 다음 코드 줄에 문제가 발생하고 배경 활성화 모드에서 작동하지 :아이폰 OS 8 푸시 알림 조치

UIMutableUserNotificationAction *cancelAction = [[UIMutableUserNotificationAction alloc] init]; 
    cancelAction.identifier = kCancelIdentifier; 
    cancelAction.title = @"Cancel"; 
    cancelAction.activationMode = UIUserNotificationActivationModeBackground; 
    cancelAction.destructive = YES; 
    cancelAction.authenticationRequired = YES; 

푸시 알림이 작업에 응답 항상 응용 프로그램을 엽니 다 백그라운드에서 작업을 수행하는 것이 아닙니다.

답변

0

acceptAction이 아닌 activationModecancelAction으로 설정했습니다.

관련 문제