#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; } - (NSString *)componentId { return ((UIViewController*)self.topViewController).componentId; } @end