第一的:
textView.inputAccessoryView = bar;
[textView becomeFirstResponder];
之后:
textView.inputAccessoryView = nil;
[textView reloadInputViews];
[textView resignFirstResponder];
[self.view addSubView:bar];
bar 是 inputAccessoryView。它不会被添加到 self.view。如何实现?