The presenting ViewController seems to load, but the screen is actually not reloading. After I touch the screen the ViewController is visible.
This is my instantiateViewController
code:
let v = self.storyboard?.instantiateViewController(withIdentifier: "BrowsingDaragaViewController") as! BrowsingDaragaViewController
self.present(v, animated: true, completion: nil)
In the BrowsingDaragaViewController
is no additional code. The viewDidAppear()
function is not called until I touch the screen.
I'm using Xcode 9 with Swift4.
edit:
presentation code is in tableview(didSelectedRow at indexPath)
but when i but it in button action it works fine