Reputation: 3
I am trying to implement a UISplitViewController on tvOSapp which has a Master ViewController with a UITableView displaying a menu. I also have an Initial Detail ViewController assigned.
What I want to achieve is that when a row in the Master ViewController menu is clicked, the initial detailViewController should be replaced by another one.
Upvotes: 0
Views: 358
Reputation: 17864
That's what showDetailViewController(vc: UIViewController, sender: Any?)
is for.
Upvotes: 1