iphone Launch Options

后端 未结 6 1094
刺人心
刺人心 2020-12-17 00:38

im not getting any launch options after a push notification; heres the code i have but non of the NSLogs seem to print in the debug area.

UILocalNotification         


        
6条回答
  •  一向
    一向 (楼主)
    2020-12-17 00:49

    If you want a local notification (I assume with your var name) replace UIApplicationLaunchOptionsRemoteNotificationKey by UIApplicationLaunchOptionsLocalNotificationKey and this should work.

提交回复
热议问题