12345678910111213141516171819202122232425262728 |
-
- #import "RNNNavigationController.h"
-
- @implementation RNNNavigationController
-
- - (UIInterfaceOrientationMask)supportedInterfaceOrientations {
- return self.viewControllers.lastObject.supportedInterfaceOrientations;
- }
-
- - (BOOL)isCustomTransitioned {
- return NO;
- }
-
- - (BOOL)isAnimated {
- UIViewController<RNNRootViewProtocol>* rootVC = (UIViewController<RNNRootViewProtocol>*) self.topViewController;
- return rootVC.isAnimated;
- }
-
- - (void)mergeOptions:(NSDictionary *)options {
- [((UIViewController<RNNRootViewProtocol>*)self.topViewController) mergeOptions:options];
- }
-
- - (NSString *)componentId {
- return ((UIViewController<RNNRootViewProtocol>*)self.topViewController).componentId;
- }
-
- @end
|