Skip to content

Instantly share code, notes, and snippets.

@saurabh23july
Created December 29, 2015 05:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save saurabh23july/c78d56074da9f7265271 to your computer and use it in GitHub Desktop.
Save saurabh23july/c78d56074da9f7265271 to your computer and use it in GitHub Desktop.
- (void)applicationDidBecomeActive:(UIApplication *)application {
// Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
[FBSDKAppEvents activateApp];
}
- (BOOL)application:(UIApplication *)application
openURL:(NSURL *)url
sourceApplication:(NSString *)sourceApplication
annotation:(id)annotation {
return [[FBSDKApplicationDelegate sharedInstance] application:application
openURL:url
sourceApplication:sourceApplication
annotation:annotation];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment