0
이것은 내 앱 검색에 대한 코드입니다.UISearchController에서 해당 페이지가 나타나면 검색 막대를 자동으로 활성화하는 방법은 무엇입니까?
self.searchController = UISearchController(searchResultsController: nil)
self.searchController.searchResultsUpdater = self
self.searchController.delegate = self
self.searchController.searchBar.delegate = self
self.searchController.hidesNavigationBarDuringPresentation = false
self.searchController.dimsBackgroundDuringPresentation = true
self.searchController.searchBar.tintColor = UIColor.gray
self.navigationItem.titleView = searchController.searchBar
self.definesPresentationContext = true
페이지가 나타나면 내 검색 창을 자동으로 활성화 하시겠습니까?
누구나 할 수있는 아이디어가 있습니까? 내 이미지를보고 분명하게 볼 수 있습니다.
감사를 추가 –