How do I create a UISearchController since UISearchDisplayController is deprecated in iOS 8?
Asked Answered
F

1

1

There is NO UISearchController in IB, only the UISearchDisplayController; where do I find docs on creating it?

Flatus answered 14/11, 2015 at 17:42 Comment(0)
F
2

From documentation;

Important: UISearchDisplayController is deprecated in iOS 8. (Note that UISearchDisplayDelegate is also deprecated.) To manage the presentation of a search bar and display search results in iOS 8 and later, instead use UISearchController.

Read UISearchController documentation. There is an example how to create UISearchController, not in IB but programmatically.

Fechner answered 14/11, 2015 at 17:48 Comment(1)
Thank you... I also found this while looking around: useyourloaf.com/blog/…Flatus

© 2022 - 2024 — McMap. All rights reserved.