Shortcut bar is not hidden when hide the keyboard by clicking keyboard icon in the bottom-right of the keyboard,and can not trigger UIKeyboardWillHideNotification.


Thanks
As of iOS 9 beta 2, the documentation is still very thin on the ground (and vaguely misleading) but I've had success using this UITextFieldDelegate method implementation.
- (void)textFieldDidBeginEditing:(UITextField*)textField
{
UITextInputAssistantItem* item = [textField inputAssistantItem];
item.leadingBarButtonGroups = @[];
item.trailingBarButtonGroups = @[];
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With