mirror of
https://github.com/HackPlan/IQKeyboardManager.git
synced 2026-04-23 05:20:30 +08:00
Added explicit check for _UIQueuingScrollView for UIPageViewController
This commit is contained in:
BIN
KeyboardTextFieldDemo/.DS_Store
vendored
BIN
KeyboardTextFieldDemo/.DS_Store
vendored
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
@@ -112,15 +112,15 @@
|
||||
{
|
||||
if (textField.isAskingCanBecomeFirstResponder == NO)
|
||||
{
|
||||
UIAlertController* actionSheet = [UIAlertController alertControllerWithTitle:@"test" message:nil preferredStyle:UIAlertControllerStyleActionSheet];
|
||||
[actionSheet addAction:[UIAlertAction actionWithTitle:NSLocalizedString(@"cancel", nil) style:UIAlertActionStyleCancel handler:^(UIAlertAction *action) {
|
||||
}]];
|
||||
[self presentViewController:actionSheet animated:YES completion:nil];
|
||||
// UIAlertController* actionSheet = [UIAlertController alertControllerWithTitle:@"test" message:nil preferredStyle:UIAlertControllerStyleActionSheet];
|
||||
// [actionSheet addAction:[UIAlertAction actionWithTitle:NSLocalizedString(@"cancel", nil) style:UIAlertActionStyleCancel handler:^(UIAlertAction *action) {
|
||||
// }]];
|
||||
// [self presentViewController:actionSheet animated:YES completion:nil];
|
||||
|
||||
//// //Do your work on tapping textField.
|
||||
// UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:@"IQKeyboardManager" message:@"Do your custom work here" delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil, nil];
|
||||
//// alertView.alertViewStyle = UIAlertViewStylePlainTextInput;
|
||||
// [alertView show];
|
||||
UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:@"IQKeyboardManager" message:@"Do your custom work here" delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil, nil];
|
||||
// alertView.alertViewStyle = UIAlertViewStylePlainTextInput;
|
||||
[alertView show];
|
||||
}
|
||||
|
||||
return NO;
|
||||
|
||||
Reference in New Issue
Block a user