aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--Firebase/Auth/Source/FIRAuthAppDelegateProxy.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/Firebase/Auth/Source/FIRAuthAppDelegateProxy.m b/Firebase/Auth/Source/FIRAuthAppDelegateProxy.m
index 8b8e1bb..f13e94f 100644
--- a/Firebase/Auth/Source/FIRAuthAppDelegateProxy.m
+++ b/Firebase/Auth/Source/FIRAuthAppDelegateProxy.m
@@ -51,7 +51,8 @@ static BOOL isIOS9orLater() {
}
return NO;
#else
- return &UIApplicationOpenURLOptionsAnnotationKey; // the constant is only available on iOS 9+
+ // UIApplicationOpenURLOptionsAnnotationKey is only available on iOS 9+.
+ return &UIApplicationOpenURLOptionsAnnotationKey != NULL;
#endif
}