Changes
- Hide the status bar (fixes #20) - Bug fix: keyboard return causes dismiss keyboard
This commit is contained in:
1 parent
de29c325f7
commit
bcbbde5ee9
2 files changed
+5
-1
No files matched your search
@@ -81,6 +81,10 @@ UITextField* versionTextField;
|
||||
callback_LauncherViewController_installMinecraft();
|
||||
}
|
||||
|
||||
-(BOOL)prefersStatusBarHidden {
|
||||
return YES;
|
||||
}
|
||||
|
||||
- (void)viewWillAppear:(BOOL)animated
|
||||
{
|
||||
[super viewWillAppear:animated];
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user