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
  • 34,719
  • 24
  • 185
  • 251
Sn0wfreeze
  • 1,777
  • 2
  • 17
  • 30

0 Answers0