1
이 application:didReceiveLocalNotification:
백그라운드 작업을 실행
이 application:didReceiveLocalNotification:
백그라운드 작업을 실행
응용 프로그램이 포 그라운드에있는 경우 AppDelegate
의 방법에 [application beginBackgroundTaskWithName:@"LOG_STUFF" expirationHandler:^{}];
으로 백그라운드 작업을 실행하는 것이 가능, 그래!
앱이 일시 중지 된 경우 (백그라운드에 이미 있음) 앱을 포그라운드로 가져 와서 "didReceiveLocalNotification:
"메서드를 실행하고 백그라운드 작업을 시작할 수 있습니다.
이 API를 올바르게 사용하는 방법에 대한 자세한 내용은 Apple's documentation for "beginBackgroundTaskWithExpirationHandler:
" 메서드를 확인하십시오.