- Hide the status bar (fixes #20)
- Bug fix: keyboard return causes dismiss keyboard
This commit is contained in:
Duy Tran Khanh committed 2021-02-03 04:43:06 +07:00
1 parent de29c325f7
commit bcbbde5ee9
2 files changed
+5 -1

No files matched your search

+4
View File
@@ -81,6 +81,10 @@ UITextField* versionTextField;
callback_LauncherViewController_installMinecraft();
}
-(BOOL)prefersStatusBarHidden {
return YES;
}
- (void)viewWillAppear:(BOOL)animated
{
[super viewWillAppear:animated];
+1 -1
View File
@@ -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