diff --git a/React/Modules/RCTDeviceInfo.m b/React/Modules/RCTDeviceInfo.m index b895ef12d97c62..342ab57885de4b 100644 --- a/React/Modules/RCTDeviceInfo.m +++ b/React/Modules/RCTDeviceInfo.m @@ -93,14 +93,14 @@ - (void)didReceiveNewContentSizeMultiplier }); } +#if !TARGET_OS_TV + - (void)interfaceOrientationDidChange { -#if !TARGET_OS_TV __weak typeof(self) weakSelf = self; RCTExecuteOnMainQueue(^{ [weakSelf _interfaceOrientationDidChange]; }); -#endif } @@ -123,5 +123,7 @@ - (void)_interfaceOrientationDidChange _currentInterfaceOrientation = nextOrientation; } +#endif // TARGET_OS_TV + @end diff --git a/React/Modules/RCTUIManager.h b/React/Modules/RCTUIManager.h index 2c9e5057b998ba..d59b6e336131e3 100644 --- a/React/Modules/RCTUIManager.h +++ b/React/Modules/RCTUIManager.h @@ -148,8 +148,8 @@ RCT_EXTERN NSString *const RCTUIManagerRootViewKey; - (void)rootViewForReactTag:(NSNumber *)reactTag withCompletion:(void (^)(UIView *view))completion; /** - * Finds a view that is tagged with {@param nativeId} as its nativeID prop - * with the associated {@param rootTag} root tag view hierarchy. Returns the + * Finds a view that is tagged with nativeID as its nativeID prop + * with the associated rootTag root tag view hierarchy. Returns the * view if found, nil otherwise. * * @param nativeID the id reference to native component relative to root view.