Created
August 7, 2015 20:45
-
-
Save jaminguy/066c314a2363bf0450a3 to your computer and use it in GitHub Desktop.
iOS 9 - Hide top keyboard toolbar
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ([textField respondsToSelector:@selector(inputAssistantItem)]) { | |
UITextInputAssistantItem *inputAssistantItem = [textField inputAssistantItem]; | |
inputAssistantItem.leadingBarButtonGroups = @[]; | |
inputAssistantItem.trailingBarButtonGroups = @[]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment