2013-04-22 19 views

回答

0

這是不可能

UIPageViewController.h

// An array of UIGestureRecognizers pre-configured to handle user interaction. Initially attached to a view in the UIPageViewController's hierarchy, they can be placed on an arbitrary view to change the region in which the page view controller will respond to user gestures. 
// Only populated if transition style is 'UIPageViewControllerTransitionStylePageCurl'. 
@property(nonatomic, readonly) NSArray *gestureRecognizers; 

通知的只有填充如果過渡的風格是 'UIPageViewControllerTransitionStylePageCurl'。

這裏有一個解決辦法 UIPageViewController returns no Gesture Recognizers in iOS 6