Erik Jan de Wit commented on Feature Request AGIOS-174

So there is no harm in adding both methods on iOS 7 only application:didReceiveRemoteNotification:fetchCompletionHandler: is used when it's implemented and the warning about the completion handler not being called is only issued when the content-available flag is set. So we could generate both methods like this:

- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void (^)(UIBackgroundFetchResult result))completionHandler {
    if ([userInfo objectForKey:@"content-available"]) {
        // add background mode remote-notification to the 'Capabilities' tab
        // fetch the content and call the completionHandler with the result:
        // for instance completionHandler(UIBackgroundFetchResultNewData);
    } else {
        [self application:application didReceiveRemoteNotification:userInfo];
    }
}

- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo {    
}
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira