我想使用pageViewController的當前索引設置滑塊的值。 我的想法是用這個方法,但我不知道我是如何得到該指數...PageViewController當前索引
-(void)pageViewController:(UIPageViewController *)pageViewController didFinishAnimating:(BOOL)finished previousViewControllers:(NSArray *)previousViewControllers transitionCompleted:(BOOL)completed
{
if(completed)
{
//self.slider.value = THE INDEX;
}
}
你的意思pageviewController.currentPage? – 2013-02-11 14:49:35