mirror of
https://github.com/HackPlan/IQKeyboardManager.git
synced 2026-04-23 21:31:14 +08:00
Enhanced logging
This commit is contained in:
BIN
KeyboardTextFieldDemo/.DS_Store
vendored
BIN
KeyboardTextFieldDemo/.DS_Store
vendored
Binary file not shown.
Binary file not shown.
@@ -2,4 +2,38 @@
|
||||
<Bucket
|
||||
type = "1"
|
||||
version = "2.0">
|
||||
<Breakpoints>
|
||||
<BreakpointProxy
|
||||
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
|
||||
<BreakpointContent
|
||||
shouldBeEnabled = "Yes"
|
||||
ignoreCount = "0"
|
||||
continueAfterRunningActions = "No"
|
||||
filePath = "../IQKeyBoardManager/IQKeyboardManager.m"
|
||||
timestampString = "441053415.011924"
|
||||
startingColumnNumber = "9223372036854775807"
|
||||
endingColumnNumber = "9223372036854775807"
|
||||
startingLineNumber = "744"
|
||||
endingLineNumber = "744"
|
||||
landmarkName = "-keyboardWillShow:"
|
||||
landmarkType = "5">
|
||||
</BreakpointContent>
|
||||
</BreakpointProxy>
|
||||
<BreakpointProxy
|
||||
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
|
||||
<BreakpointContent
|
||||
shouldBeEnabled = "Yes"
|
||||
ignoreCount = "0"
|
||||
continueAfterRunningActions = "No"
|
||||
filePath = "../IQKeyBoardManager/IQKeyboardManager.m"
|
||||
timestampString = "441053429.111754"
|
||||
startingColumnNumber = "9223372036854775807"
|
||||
endingColumnNumber = "9223372036854775807"
|
||||
startingLineNumber = "955"
|
||||
endingLineNumber = "955"
|
||||
landmarkName = "-textFieldViewDidBeginEditing:"
|
||||
landmarkType = "5">
|
||||
</BreakpointContent>
|
||||
</BreakpointProxy>
|
||||
</Breakpoints>
|
||||
</Bucket>
|
||||
|
||||
@@ -112,8 +112,16 @@
|
||||
{
|
||||
if (textField.isAskingCanBecomeFirstResponder == NO)
|
||||
{
|
||||
//Do your work on tapping textField.
|
||||
[[[UIAlertView alloc] initWithTitle:@"IQKeyboardManager" message:@"Do your custom work here" delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil, nil] show];
|
||||
UIAlertController* actionSheet = [UIAlertController alertControllerWithTitle:@"test" message:nil preferredStyle:UIAlertControllerStyleActionSheet];
|
||||
|
||||
UIAlertAction* action = [UIAlertAction actionWithTitle:NSLocalizedString(@"cancel", nil) style:UIAlertActionStyleCancel handler:^(UIAlertAction *action) {
|
||||
}];
|
||||
[actionSheet addAction:action];
|
||||
|
||||
[self presentViewController:actionSheet animated:YES completion:nil];
|
||||
|
||||
// //Do your work on tapping textField.
|
||||
// [[[UIAlertView alloc] initWithTitle:@"IQKeyboardManager" message:@"Do your custom work here" delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil, nil] show];
|
||||
}
|
||||
|
||||
return NO;
|
||||
|
||||
Reference in New Issue
Block a user