iOS UISplitViewController


UISplitViewController is a container class like UITabViewController, UINavigationController. It separates the main view into two View Controllers masterViewController(PrimaryViewController) and detailViewController(SecondaryViewController). we can send an array with two view controllers and Apple recommends to to UISplitViewController as a rootviewcontroller for your application. To interact between the viewcontrolers I use NSNotificationCenter.