SWRevealViewController - RightViewController

后端 未结 5 999
攒了一身酷
攒了一身酷 2020-12-06 21:22

I\'m using SWRevealViewController for implementing two side navigation views in my application. I followed the story board method and successfully implemented the rear view

5条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-06 21:40

    There is a try-catch condition between line on 435 to 444 on SWRevealViewController.m. Just rearrange the statement as following

            [self performSegueWithIdentifier:SWSegueRightIdentifier sender:nil];
            [self performSegueWithIdentifier:SWSegueFrontIdentifier sender:nil];
            [self performSegueWithIdentifier:SWSegueRearIdentifier sender:nil];
    

    Now my right-menu/rightViewController is working even though i am not using the leftmenu/rearViewController.

提交回复
热议问题