diff --git a/Natives/LauncherViewController.m b/Natives/LauncherViewController.m index e9aaa9a3..080eae14 100644 --- a/Natives/LauncherViewController.m +++ b/Natives/LauncherViewController.m @@ -81,6 +81,10 @@ UITextField* versionTextField; callback_LauncherViewController_installMinecraft(); } +-(BOOL)prefersStatusBarHidden { + return YES; +} + - (void)viewWillAppear:(BOOL)animated { [super viewWillAppear:animated]; diff --git a/Natives/SurfaceViewController.m b/Natives/SurfaceViewController.m index 090a7bc4..85406981 100644 --- a/Natives/SurfaceViewController.m +++ b/Natives/SurfaceViewController.m @@ -74,7 +74,7 @@ UITextField *inputView; inputView.backgroundColor = [UIColor colorWithWhite:0.0f alpha:0.0f]; [inputView addTarget:self action:@selector(inputViewDidChange) forControlEvents:UIControlEventEditingChanged]; - [inputView addTarget:self action:@selector(inputViewDidReturn) forControlEvents:UIControlEventEditingDidEndOnExit]; + [inputView addTarget:self action:@selector(inputViewDidReturn) forControlEvents:UIControlEventEditingDidEnd]; [inputView addTarget:self action:@selector(inputViewDidClick) forControlEvents:UIControlEventTouchDown]; // Custom button