Artem Gorohov
Artem Gorohov

Reputation: 9

How to change starting VC, using amslidemenu?

When I launch the app, a VC, that associated with 0 number Cell in Table View, appears. How can I change it to 3rd VC for example?

Upvotes: 0

Views: 76

Answers (1)

user3576382
user3576382

Reputation: 31

MainVC.m override the following in MainVC.m

  • (NSIndexPath *)initialIndexPathForLeftMenu;
  • (NSIndexPath *)initialIndexPathForRightMenu;

    • (NSIndexPath *)initialIndexPathForRightMenu { return [NSIndexPath indexPathForRow:2 inSection:0]; }

use : ( if using left)

- (NSIndexPath *)initialIndexPathForLeftMenu
{
    return [NSIndexPath indexPathForRow:2 inSection:0];
}

Upvotes: 0

Related Questions