0

I am currently using a UIPageViewController to show several View Controllers. It's like in the Twitter App.

Now I want to scroll programmatically to a visible rect. Not just to the next view by using:

[_pager setViewControllers:@[[SFDHelper instantiateVC:@"conferences"]] direction:UIPageViewControllerNavigationDirectionForward animated:YES completion:nil];

It is like I wanted to show only a part of the new view Controller.

I have a reference to the UIPageViewControllers scrollview, but calling

[_pagersScrollView scrollRectToVisible:scrollRect animated:NO];

is not working. My Log shows, that it should move, but it doesn't

Cœur
  • 37,241
  • 25
  • 195
  • 267
Sn0wfreeze
  • 1,959
  • 3
  • 18
  • 32

0 Answers0