Computer Science, asked by sadshawonoo5889, 1 year ago

How to navigate one split controller to other split in swift?

Answers

Answered by SahimSha
1
Hey mate, here is your answer :

The problem is that the split view controller have to be the root of your app. You cannot push it in a UINavigationController. Whenever you want the split view to appear/disappear, you should change the rootViewController (in the AppDelegate).

However, in your case I suggest you keep the SplitViewController on the screen all the time, and do the search in the master controller. Use a UITableViewController in it. You can add a search bar to your table, and narrow the results as you type characters in the search bar. Hope this helps!

Similar questions