项目中使用了pagemenu,但无法设置进入后显示哪一页,只能通过moveToPage 移动到具体哪一页
_pageMenu = [[CAPSPageMenu alloc] initWithViewControllers:controllerArray
frame:CGRectMake(0.0, 64.0, self.view.frame.size.width, self.view.frame.size.height)
options:parameters];
_pageMenu.delegate = self;
_pageMenu.currentPageIndex = 0;
_pageMenu.controllerScrollView.scrollEnabled = YES;
[_pageMenu moveToPage:_currentIndex];
_pageMenu.tap = ^(NSInteger index){
};
//设置 _pageMenu.currentPageIndex = 0; 无效