Closed fawzialrifai closed 5 years ago
Good day, @fawzirifai ! I am tested project, thanks! I see this on iPhone X:
I see an incorrect Layout, and I think that the problem is in it. I will close your issue for now, but if you solve the problem, I can open it again and help you figure it out. Update your project to current status.
@IvanVorobei I added auto layout to the project, please check it now.
I am try to fix, but it not work.
Also I think not correctly set search bar to header, need use navigation (maybe without navigation bar view) after iOS 11.
See more examples how use search bar and search controller.
@fawzirifai I see project.
You use UISearchController
, but it incorrect. Search bar will be controlled by the controller. You need use simple UISearchBar
.
I have a UIViewController with UITableView and UISearchController, when I tap on search bar it jumps one row down. I created a very simple project you can check it. https://github.com/fawzirifai/TestingSearchBar/