13
Intentando cargar la vista de un controlador de vista mientras se desasigna… UISearchController
Tengo un código que crea un UISearchController' in my UIVIew'sviewDidLoad`. self.resultSearchController = ({ let controller = UISearchController(searchResultsController: nil) controller.searchResultsUpdater = self controller.searchBar.delegate = self controller.dimsBackgroundDuringPresentation = false controller.searchBar.sizeToFit() controller.hidesNavigationBarDuringPresentation = false //prevent search bar from moving controller.searchBar.placeholder = "Search for song" self.myTableView.tableHeaderView = controller.searchBar return controller })() Inmediatamente después de …