Как загружать leftView первоначально в ADSlidingViewController вместо mainView?
По умолчанию загружается mainView
[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];
-
Вопрос задан
-
2253 просмотра