( )viewControllerから継承するを取得しました。aを使用すると、スクロールだけでなく全体がブロックされるため、オプションではありません。 UIPageViewController@interface PageScrollViewController : UIPageViewControllerUIPageViewControllerUIScrollViewsetScrollEnabled:NOself.view.userInteractionEnabled = NO;UIView
編集
これはPageScrollViewController : UIPageViewControllerクラスにあります:
if ([[notification name] isEqualToString:@"NotificationDisable"]){
NSLog (@"Successfully received the disable notification!");
for (UIGestureRecognizer *recognizer in self.gestureRecognizers) {
recognizer.enabled = NO;
}
}