UIViewControllerPreviewingDelegate methods not called when UISearchController presented

232 views Asked by At

When searchController is not presented 3d touch works as expected and delegate methods called. But not called when searchController is active.

Creating of UISearchController looks like this

let searchController = UISearchController(searchResultsController: nil) 
searchController.searchResultsUpdater = self
searchController.delegate = self
searchController.hidesNavigationBarDuringPresentation = false
searchController.dimsBackgroundDuringPresentation = false
0

There are 0 answers