我正在为某些文本字段使用自定义 inputView,但是当我在文本字段上调用 resignFirstResponder 时,自定义输入视图不会关闭...有什么建议吗?
UITextField *f=[[UITextfield alloc] init];
UIView *view=[[UIView alloc] initWithFrame..];
[f setInputView:view]; //random example of how to set a textfields input view to a custom view
经过一些研究,这个问题仅在使用模态视图中呈现的 viewController 时才会出现......否则它可以正常工作......
谢谢
-丹尼尔