Skip to content

Instantly share code, notes, and snippets.

@jaminguy
Created August 7, 2015 20:45
Show Gist options
  • Save jaminguy/066c314a2363bf0450a3 to your computer and use it in GitHub Desktop.
Save jaminguy/066c314a2363bf0450a3 to your computer and use it in GitHub Desktop.
iOS 9 - Hide top keyboard toolbar
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