dekatotoro / dekatotoro/SlideMenuControllerSwift
How to go back to the mainviewController with animation. I can do without animation.
- Dominant language
- Swift
- Stars
- 3.4k
- Forks
- 742
- PR merge metrics
- No merged PRs in 30d
Description
My code:
func viewDidLoad() {
let Screen = storyboard?.instantiateViewController(withIdentifier: "sampleVC") as! SampleViewController
self.sampleVC = UINavigationController(rootViewController: Screen)
}
@IBAction func close(_ sender: Any) {
// slideMenuController()?.toggleLeft()
self.slideMenuController()?.changeMainViewController(sampleVC, close: true)
}
**While closing the viewcontroller by pressing the back button it has to go the SampleViewController with animation(Like modal view or push view). How can i achieve it ? Please guide.**
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.