applicationDidBecomeActive not called when launching app from Banner/custom action

ε祈祈猫儿з 提交于 2019-12-03 12:54:52

Looks like this is an iOS 8 Bug. Found the following on Urban Airship's iOS change log document:

iOS 8 Notes (Updated September 25, 2014)

Known issues with iOS 8.0.0 that may impact your application: - Applications do not enter the 'active' state when started from an interactive notification and subsequent app sessions do not receive the application:didBecomeActive delegate call or
UIApplicationDidBecomeActiveNotification notification. The application state never transitions out of 'inactive' (Radar #18179525). This will impact the accuracy of reporting for applications using interactive notifications.

http://docs.urbanairship.com/reference/libraries/ios/latest/ios_changelog.txt

I Did not find any indication that this had been fixed in the latest iOS 8 versions, including 8.1 and 8.2-Beta, nor any workaround to deal with it.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!