사용자가 내 앱에 대한 알림을 사용 중지 한 경우 'didreceivelocalnotification'메소드가 호출됩니까? 특정 날짜에 메서드를 호출 할 방법이 필요합니다. 사용자가 알림을 보지 않으려는 경우에도 메서드를 호출해야합니다. 이 문제에 대한 지역 알림보다 나은 방법이 있습니까?ios local notification didreceivelocalnotification
0
A
답변
0
아니요, 해당 전화가 아닙니다.
더 나은 작업을 서버에 저장하고 거기서 실행하십시오. 사용자가 앱을 삭제하거나 알림을 사용하지 않도록 할 수는 없습니다.
1
먼저 앱이 실행 중일 때만 didReceiveLocalNotification:
메서드가 호출되고 앱 실행 중에 로컬 알림이 실행됩니다.
scheduleLocalNotification:
또는 presentLocalNotificationNow:
메서드를 사용하여 로컬 알림을 시스템에 보내면 해고 될 것으로 보입니다.
그래서 "발사 일"이 오면 앱이 실행 중이면 didReceiveLocalNotification:
메서드가 호출됩니다.
샘플 응용 프로그램을 실행하여 확인했습니다.
관련 문제
- 1. PhoneGap Build & NativeControls & Local Notification plugin
- 2. did not didReceiveLocalNotification, didFinishLaunchingWithOptions
- 3. APPLE IOS Notification with .NET
- 4. Persistant notification
- 5. Settings -> Notification for IOS 5.0의 숨기기 옵션을 참조하십시오.
- 6. local-name과 비슷한 local-path 함수가 있습니까?
- 7. android multiple notification
- 8. Paypal Payment Notification
- 9. wcf connection closed notification
- 10. performSelectorOnMainThread to Notification
- 11. iAd notification * const__strong 'to
- 12. (Push Notification) 안드로이드
- 13. Soundpool onloadcomplete notification
- 14. PHP Apple Enhanced Notification
- 15. Gps notification iphone sdk
- 16. android media player notification
- 17. on complete notification 다운로드
- 18. threads reagarging notification
- 19. android list contents notification
- 20. android non-clickable notification
- 21. 시작 청산 iOS 앱은 지역 알림
- 22. Apple Push Notification 서비스에서 ios 4, ios 5 및 ios6의 변경 사항이 있습니까?
- 23. Android Notification PendingIntent의 명확한 의미
- 24. WCF를 통한 WS-Notification 구현
- 25. Ticker TextView in Notification 레이아웃
- 26. Android - EditText on status notification
- 27. Silverlight Notification API in browser
- 28. 쉘 스크립트 : "local foo"와 "local foo ="사이에 차이가 있습니까?
- 29. iOS 버전에 따라 다른 기능 활성화
- 30. Git for Local Branches