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
I try to help you man but I'm not sure that I find the real problem.
According to Apple Documentation:
showsCancelButton
boolean property that indicating whether the cancel button is displayed
But for hide the cancel button maybe you should use:
setShowsCancelButton(_:animated:)
I hope that can be helpful.