[[+content_image]]
D
D
DjPROgramiST2014-07-22 12:21:44
iOS
DjPROgramiST, 2014-07-22 12:21:44

How to load leftView initially in ADSlidingViewController instead of mainView?

How to load leftView initially in ADSlidingViewController instead of mainView?
MainView is loaded by default
[ADSlidingViewController setLoggingEnabled:NO];
mainView = [[UIStoryboard storyboardWithName:@"Main_iPhone" bundle:nil] instantiateViewControllerWithIdentifier:@"ArticleViewController"];
[[mainView view] addGestureRecognizer:[self panGesture]];
[self setMainViewController:mainView];
leftView = [[UIStoryboard storyboardWithName:@"Main_iPhone" bundle:nil] instantiateViewControllerWithIdentifier:@"ListViewController"];
[self setLeftViewController:leftView];
[self setShowTopViewShadow:NO];
[self setLeftMainAnchorType:ADMainAnchorTypeResize];

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question