|
|
|
|
12
|
self = [super initWithLayoutInfo:layoutInfo creator:creator options:options defaultOptions:defaultOptions presenter:presenter eventEmitter:eventEmitter childViewControllers:childViewControllers];
|
12
|
self = [super initWithLayoutInfo:layoutInfo creator:creator options:options defaultOptions:defaultOptions presenter:presenter eventEmitter:eventEmitter childViewControllers:childViewControllers];
|
13
|
_stackDelegate = [[StackControllerDelegate alloc] initWithEventEmitter:self.eventEmitter];
|
13
|
_stackDelegate = [[StackControllerDelegate alloc] initWithEventEmitter:self.eventEmitter];
|
14
|
self.delegate = _stackDelegate;
|
14
|
self.delegate = _stackDelegate;
|
15
|
- self.navigationBar.prefersLargeTitles = YES;
|
|
|
|
|
15
|
+ if (@available(iOS 11.0, *)) {
|
|
|
16
|
+ self.navigationBar.prefersLargeTitles = YES;
|
|
|
17
|
+ }
|
16
|
return self;
|
18
|
return self;
|
17
|
}
|
19
|
}
|
18
|
|
20
|
|