美文网首页
如何判断是通知栏点进来还是icon点进来

如何判断是通知栏点进来还是icon点进来

作者: 寂寞先森666 | 来源:发表于2019-01-21 09:53 被阅读0次

    -(void)application:(UIApplication *)application didReceiveLocalNotification:(UILocalNotification *)notification {

     } 

    -(void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler {

     }

    点击了通知栏会调用上面方法、点击icon方法不会调用

    相关文章

      网友评论

          本文标题:如何判断是通知栏点进来还是icon点进来

          本文链接:https://www.haomeiwen.com/subject/axbqjqtx.html