From 31223280232808997747cab4a2a90d69aeca85b5 Mon Sep 17 00:00:00 2001 From: Connor McEwen Date: Wed, 19 Apr 2017 15:15:53 -0700 Subject: [PATCH] Enable dev menu in tvOS simulator Summary: There was no easy way to pull up the dev menu in the tvOS simulator Run the UIExplorer demo and press cmd+d to bring up the menu Closes https://github.com/facebook/react-native/pull/13584 Differential Revision: D4916967 Pulled By: javache fbshipit-source-id: 27f50031f65f35dad46ad5ade7b52c7d350b31a2 --- React/Modules/RCTDevMenu.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/React/Modules/RCTDevMenu.m b/React/Modules/RCTDevMenu.m index 7dcce131cc60f3..7118a19d7a9ace 100644 --- a/React/Modules/RCTDevMenu.m +++ b/React/Modules/RCTDevMenu.m @@ -108,7 +108,7 @@ - (instancetype)init object:nil]; _extraMenuItems = [NSMutableArray new]; -#if TARGET_IPHONE_SIMULATOR +#if TARGET_OS_SIMULATOR RCTKeyCommands *commands = [RCTKeyCommands sharedInstance]; __weak __typeof(self) weakSelf = self;