透过UIPageViewC主计长(UIPageView Conctor), 我使用Erica Sudan的辅导课程展示一个PDF, 但有两个问题:
1- I can not swipe the book from every corner or every position (the right or left side of the view) I am using apple WWDC 2011 code to swipe from everywhere but does not work :
- (void)viewDidAppear:(BOOL)animated {
[[[self parentViewController] view] setGestureRecognizers:[self.view gestureRecognizers]];
}
- (void)viewWillDisappear:(BOOL)animated {
for (UIGestureRecognizer *gesture in [self gestureRecognizers] ) {
[[[self parentViewController] view] setGestureRecognizers:[self.view gestureRecognizers]];
}
}
- 需要一点时间来识别擦拭, 我的意思是页面卷曲不是实时的滑动。 我左滑了下来, 用手指移动页面需要时间
谢谢 谢谢