When the searchController is not present, 3d touch works as expected, and delegation methods are called. But it is not called when searchController is active.
Creating a UISearchController is as follows
let searchController = UISearchController(searchResultsController: nil) searchController.searchResultsUpdater = self searchController.delegate = self searchController.hidesNavigationBarDuringPresentation = false searchController.dimsBackgroundDuringPresentation = false
ios swift 3dtouch uisearchcontroller
LDNZh
source share