iOS18 searchBar and system keyboard

我们App的搜索功能,以前使用系统键盘进行输入中文搜索时,只有当输入完整,点击键盘上的对应词后,才会开始搜索, 现在没按下一个字母,就会触发搜索。

We appreciate your interest in participating in the forums! These forums are for questions about developing software and accessories for Apple platforms. Your question seems related to a consumer feature and is better suited for the Apple Support Communities

https://discussions.apple.com/welcome

Albert Pascual
  Worldwide Developer Relations.

貌似是Xcode16打包运行在iOS18系统上就会出现这种情况,- (void)searchBar:(UISearchBar *)searchBar textDidChange:(NSString *)searchText; 这个代理方法,输入中文时,每次按下拼音 就会触发

iOS18 searchBar and system keyboard
 
 
Q