Reputation: 3756
I upgraded an older version(ios6) of a tabbed based app to latest iOS. The app uses my own customkeyboard like showing in the image attached. The tabbar supposed to stay on top of the keyboard, but with new iOS versions, I get this new toolbar by default. How do I get rid of this bar because it's sitting on top of my tabbar?
Upvotes: 1
Views: 594
Reputation: 27608
The thing on the top is a suggestion list.
I just tested this in Xcode. The way to hide is to disable auto-correction. Do it programmatically or using storyboard by highlighting search bar.
searchBar.autocorrectionType = UITextAutocorrectionTypeNo;
Upvotes: 1
Reputation: 11039
UITextInputAssistantItem* item = [textField inputAssistantItem];
item.leadingBarButtonGroups = @[];
item.trailingBarButtonGroups = @[];
Upvotes: 2