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
This commit is contained in:
Connor McEwen 2017-04-19 15:15:53 -07:00 committed by Facebook Github Bot
parent 6b0c72fa82
commit 3122328023
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ RCT_EXPORT_MODULE()
object:nil]; object:nil];
_extraMenuItems = [NSMutableArray new]; _extraMenuItems = [NSMutableArray new];
#if TARGET_IPHONE_SIMULATOR #if TARGET_OS_SIMULATOR
RCTKeyCommands *commands = [RCTKeyCommands sharedInstance]; RCTKeyCommands *commands = [RCTKeyCommands sharedInstance];
__weak __typeof(self) weakSelf = self; __weak __typeof(self) weakSelf = self;