Skip to content

azimin/SplitViewController-iOS9

Repository files navigation

SplitViewController-iOS9

Split View Controller that supports iOS 9 multitasking for iPad

iPad:

-

iPhone 6 (Custom rules)

-

Creating

let splitViewController = AZSplitController()
    
splitViewController.sideController = (UIStoryboard(name: "Main", bundle: nil).instantiateViewControllerWithIdentifier("Left") as! UINavigationController)
splitViewController.mainController = (UIStoryboard(name: "Main", bundle: nil).instantiateViewControllerWithIdentifier("Center") as! UINavigationController)
splitViewController.templateViewController = (UIStoryboard(name: "Main", bundle: nil).instantiateViewControllerWithIdentifier("AnotherCenter") as! UINavigationController).viewControllers.first

templateViewController used as mainController after rotating from full screen mode

Thanks @spronin for the help

Created for @appintheair

About

Split View Controller that supports iOS 9 multitasking for iPad

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages