//声明一个字典
NSDictionary* remoteNotification = [launchOptions objectForKey:UIApplicationLaunchOptionsRemoteNotificationKey];
if(remoteNotification !=nil){
[self goToMssageViewControllerWith:remoteNotification];
}
转载请注明原文地址: https://ju.6miu.com/read-1288232.html