UIViewControllerPreviewingDelegate methods not called when UISearchController presented
Asked Answered
H

0

7

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
Haldan answered 9/1, 2017 at 16:6 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.