Show detail Segue is not working when I use with manual

273 Views Asked by At

I'm using splitview controller in my app. I directly connect UITableViewCell to detailViewController with segue.I used show detail. It's working fine.

However, it's not working, when I call manually segue instead of connect in storyboard. I'm using manual segue and connect between viewcontrollers.

It doesn't show up in detailview (right side). It only replace at the current left side view.

Why it's not showing and how can I fix ?

My code is like

performSegue(withIdentifier: "browseToDetail", sender: myobject)
tableView.deselectRow(at: indexPath, animated: true)

Edit:

Try to create new project and copy/paste the code. It's working :( No idea why not working in old project.

0

There are 0 best solutions below