|
|
|
|
48
|
}
|
48
|
}
|
49
|
|
49
|
|
50
|
- (UIInterfaceOrientationMask)supportedInterfaceOrientations {
|
50
|
- (UIInterfaceOrientationMask)supportedInterfaceOrientations {
|
51
|
- return [self.presenter getOrientation:[self resolveOptions]];
|
|
|
|
|
51
|
+ UIInterfaceOrientationMask interfaceOrientationMask = self.presenter ? [self.presenter getOrientation:[self resolveOptions]] : [[UIApplication sharedApplication] supportedInterfaceOrientationsForWindow:[[UIApplication sharedApplication] keyWindow]];
|
|
|
52
|
+ return interfaceOrientationMask;
|
52
|
}
|
53
|
}
|
53
|
|
54
|
|
54
|
- (void)renderTreeAndWait:(BOOL)wait perform:(RNNReactViewReadyCompletionBlock)readyBlock {
|
55
|
- (void)renderTreeAndWait:(BOOL)wait perform:(RNNReactViewReadyCompletionBlock)readyBlock {
|