Commit 402cbea2 by Brent Gulanowski

Fix crash when pushing variant selection view controller.

parent 35761806
......@@ -70,7 +70,7 @@ static void *kObservationContext = &kObservationContext;
- (UIScrollView *)scrollView
{
UIView *view = self.topViewController.view;
UIView *view = [self.topViewController isViewLoaded] ? self.topViewController.view : nil;
if ([view isKindOfClass:[UIScrollView class]]) {
return (id)view;
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment