I am showing my details in UISplitViewController in AllVisible mode. But, before that, loginViewController is there. User should login, then it will navigate UISplitViewController. I don't know how to navigate to that viewController. I am not using any UINavigationController inside my app. I have tried something, but failure. I used following code:
Code:
//ATTEMPT 1:
self.performSegueWithIdentifier("split", sender: self)
//ATTEMPT 2:
let leftVC = atlMasterVC()
let detailVC = atlDetailVC()
let splitViewController = splitVC()
splitViewController.viewControllers = [leftVC,detailVC]
//ATTEMPT 3
self.presentViewController(splitViewController, animated: true, completion: nil)
let nextViewController = storyBoard.instantiateViewControllerWithIdentifier("split") as! splitVC
self.presentViewController(nextViewController, animated:true, completion:nil)
If I am any wrong, kindly guide me.