We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41a682b commit f1b712eCopy full SHA for f1b712e
Branch-SDK/Branch-SDK/BNCStrongMatchHelper.m
@@ -236,8 +236,10 @@ - (BOOL) willLoadViewControllerWithURL:(NSURL*)matchURL {
236
objc_registerClassPair(BNCMatchViewControllerSubclass);
237
}
238
239
- self.primaryWindow = [[UIApplication sharedApplication] keyWindow];
240
self.matchViewController = [[BNCMatchViewControllerSubclass alloc] initWithURL:matchURL];
+ if (!self.matchViewController) return NO;
241
+
242
+ self.primaryWindow = [[UIApplication sharedApplication] keyWindow];
243
self.matchViewController.delegate = self;
244
self.matchViewController.view.frame = self.primaryWindow.bounds;
245
0 commit comments