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