Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed issue #38 with custom keyboards #89

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Added the backspaceDelegate which works for default iOS keyboard
  • Loading branch information
Michal Rentka committed Feb 25, 2016
commit 28d4a9bfabffd43251763f989161b01a49213b38
2 changes: 2 additions & 0 deletions VENTokenField/VENTokenField.m
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ - (void)layoutInvisibleTextField
[self.invisibleTextField setAutocorrectionType:self.autocorrectionType];
[self.invisibleTextField setAutocapitalizationType:self.autocapitalizationType];
self.invisibleTextField.delegate = self;
self.invisibleTextField.backspaceDelegate = self;
[self addSubview:self.invisibleTextField];
}

Expand Down Expand Up @@ -409,6 +410,7 @@ - (VENBackspaceTextField *)inputTextField
_inputTextField.autocapitalizationType = self.autocapitalizationType;
_inputTextField.tintColor = self.colorScheme;
_inputTextField.delegate = self;
_inputTextField.backspaceDelegate = self;
_inputTextField.placeholder = self.placeholderText;
_inputTextField.accessibilityLabel = self.inputTextFieldAccessibilityLabel ?: NSLocalizedString(@"To", nil);
_inputTextField.inputAccessoryView = self.inputTextFieldAccessoryView;
Expand Down