简体   繁体   中英

Show a SplitViewController, when user press a button?

i'ts possible call/load a SplitViewController, when user press a button ???

for example, in my app i have a button called "Settings". When the user press that button, i'd like show the SplitViewController...

somebody help me ??

 PD. Already did a easy example with SplitViewController:
 but i don't know a solution for my problem..

UISplitViewController is inherited from the UIViewController. You can just push it onto navigation stack or perform seque if you use storyboards. If you use nibs then first instantiate it with initWithNibNamed: and then [self.navigationController pushViewController: yourSplitViewController] .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM