Could you please tell me the best practice to use fetchCompletionHandler when receiving the remote notification in the function :
- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void (^)(UIBackgroundFetchResult result))completionHandler
I saw people normally write this code at the end of the above function:
completionHandler(UIBackgroundFetchResultNewData);
What if I write :
completionHandler(UIBackgroundFetchResultNoData);
Or what happens even when I don't put the above code?
Note: I am using xcode7.1, objective-c, ios9.1