diff --git a/.gitignore b/.gitignore index 908e26d2..745193e2 100644 --- a/.gitignore +++ b/.gitignore @@ -41,3 +41,4 @@ android/.settings android/launch-* nbproject +ios/FacebookIOS.xcodeproj/project.xcworkspace/xcuserdata/ diff --git a/ios/Classes/FacebookModule.m b/ios/Classes/FacebookModule.m index daef7983..e37d4bf2 100644 --- a/ios/Classes/FacebookModule.m +++ b/ios/Classes/FacebookModule.m @@ -52,7 +52,9 @@ -(BOOL)handleRelaunch NSString *annotation; if ([TiUtils isIOS9OrGreater]) { +#ifdef __IPHONE_9_0 annotation = [launchOptions objectForKey:UIApplicationOpenURLOptionsAnnotationKey]; +#endif } else { annotation = nil; } diff --git a/ios/FacebookIOS.xcodeproj/project.xcworkspace/xcuserdata/hans.xcuserdatad/UserInterfaceState.xcuserstate b/ios/FacebookIOS.xcodeproj/project.xcworkspace/xcuserdata/hans.xcuserdatad/UserInterfaceState.xcuserstate deleted file mode 100644 index 1df12346..00000000 Binary files a/ios/FacebookIOS.xcodeproj/project.xcworkspace/xcuserdata/hans.xcuserdatad/UserInterfaceState.xcuserstate and /dev/null differ