0

After user swipes to the page (PageCurl effect) I'd like to disable swipe to the next page until he does something on the current page. I have in the viewDidAppear method [self checkScrolling]; which actually works, but with a delay. If I swipe pages in normal pace, everything works (it gets called), but if I do several fast swipes in a row, pages are scrolled, but method is not called.

Any advice on the way to enable scrolling only one page until there is permission allow scrolling tot he next?

Janis

Kara
  • 6,115
  • 16
  • 50
  • 57
Janis Jakaitis
  • 327
  • 1
  • 8
  • 1
    Have you tried calling your checkScrolling method in viewWillAppear instead of viewDidAppear? I'd assume viewDidAppear only gets called after the curl animation has finished, but viewWillAppear should be called when the content controller is added to the UIPageViewController. – Caffeine Jan 06 '13 at 12:58
  • if it is called in viewWillAppear the page stays half turned – Janis Jakaitis Jan 11 '13 at 12:09

0 Answers0