I use push notifications but while my app is closed,and push received it is not executed(i perceived by putting break point didreceived method),only appears on screen.What can i do to detect push received while app is closed? I use also background fetch and remote notifications in target->Capabilities
MY Codes :
- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo
fetchCompletionHandler:(void (^) (UIBackgroundFetchResult))completionHandler {