可以使用searchBar.searchTextField.markedTextRange来检查是否正在输入拼音
Topic:
Community
SubTopic:
Apple Developers