0

UIScreenEdgePanGestureRecognizerを設定するときにUIRectEdgeRightなどを指定すると、実際のポイント値が何であるかを把握しようとしています。

そのような認識エンジンにログオンするためのプロパティがないため、UIScreenEdgePanGestureRecognizer について何も単純に NSLog できないようです。

それに応じて、このエッジから別の認識エンジンを配置したいので、基本的に、この認識エンジンがトリガーされるタイミングとトリガーされないタイミングを決定しようとしています。

提供されたヘルプ/ヒントに感謝します

/*! This subclass of UIPanGestureRecognizer only recognizes if the user slides their finger
in from the bezel on the specified edge. */

NS_CLASS_AVAILABLE_IOS(7_0) @interface UIScreenEdgePanGestureRecognizer : UIPanGestureRecognizer

@property (readwrite, nonatomic, assign) UIRectEdge edges; //< The edges on which this gesture recognizes, relative to the current interface orientation

@end
4

1 に答える 1

1

UIScreenEdgePanGestureRecognizer がそれぞれのエッジから 20 pts をトリガーすることを、試行錯誤によって理解しました。

于 2014-02-26T03:49:19.060 に答える