stop popoverViewController resignFirstResponder af

2019-08-01 15:36发布

问题:

I am using a uitableview containing multiple rows, and each row contains two UITextFields side by side. let's say TextField1, TextField2. When a user taped on TextField1, and start typing, a popoverViewController shows up for suggestions. When the user tap on a suggestion from the popoverViewController, the popover dismissed (this is what i want), then the keyboard dismissed as well (this is not what i want). if now the user tap on TextField2, the keyboard comes up.

I want to keep the keyboard up because the user needs to input in TextField2. How can i make this happen?

really appreciated.