I've an app and I am sending the parse norifications when the app is inActive and my code is like this? in my
AppDelegate.m
-(void)application:(UIApplication *)app didReceiveRemoteNotification:(NSDictionary *)userInfo
{
if([app applicationState] == UIApplicationStateInactive)
{
//Here I've written
[PFPUSH handlePush:UserInfo];
}
}
But I need to go to a perticular page on this notification: For example I need to open my MUSICViewController on triggering the push notification. How to go that screen from app delegate; And another important thing is if the app is not launched, How I've to launch the app and handle the notification. And for info some data is to be get from server before the app launches. Please help how to handle it?