在我的应用程序中有两种模式
1. Driver Mode
2. Passenger Mode
2)乘客可以向司机发送请求
-Driver has two option 1)Accept 2)cancel
if driver accepts invitation then passenger screen shows driver contact list.
if driver cancels invitation then passenger shows Find New Driver Screen.
答案 0 :(得分:2)
当用户触摸您的响应将在此处收到的通知时,此方法将放在AppDelegate.m文件中。
-(void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo
{
NSLog(@"this is user info%@",userInfo);
//here you can handle those things.
}