简体   繁体   中英

UISearchController search bar cannot be activated

The UISearchBar object and its UISearchBarTextField subview both return NO for canBecomeFirstResponder . Under what conditions would UISearchController prevent searching?

这是因为包含搜索栏的视图控制器没有被视为“出现”。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM