diff --git a/src/ios/BranchSDK.m b/src/ios/BranchSDK.m index 177058ad..076b484f 100644 --- a/src/ios/BranchSDK.m +++ b/src/ios/BranchSDK.m @@ -593,8 +593,10 @@ - (void)postUnhandledURL:(NSNotification *)notification { // We create a JSON string result, because we're unable to handle the url. We will include the url in the return string. NSError *error; NSString *urlString; - - if ([notification.object respondsToSelector:@selector(absoluteString:)]) { + +// if ([notification.object respondsToSelector:@selector(absoluteString:)]) { + SEL selector = NSSelectorFromString(@"absoluteString:"); + if ([notification.object respondsToSelector:selector]) { urlString = [notification.object absoluteString]; } else { urlString = notification.object;