I\'ve added a UISearchController to my application and set it\'s searchBar to the titleView
of my navigationItem
.
This works but I am seeing t
This appears to be a bug in iOS. The same behavior I've described can be seen in the example project supplied by Apple
https://developer.apple.com/library/ios/samplecode/TableSearch_UISearchController/Introduction/Intro.html
The documentation states that the default for this is NO
but this doesn't seem to be the case. Setting showsCancelButton
to NO
seems to have no effect.
I have filed a radar for this and am waiting to hear back.