How to show, then focus UISearchController programmatically? – Ios swift
I am using https://www.raywenderlich.com/4363809-uisearchcontroller-tutorial-getting-started as based project. To make UISearchController hidden initially during app startup, I have move the following line of code, from viewDidLoad to viewWillAppear. navigationItem.searchController = searchController In order to start search feature, user will need to…