zoukankan      html  css  js  c++  java
  • UIPanGestureRecognizer,

    UIGestureRecognizer 有:

    - (id)initWithTarget:(id)target action:(SEL)action; 

    - (void)addTarget:(id)target action:(SEL)action; 

    - (void)removeTarget:(id)target action:(SEL)action;

     UIGestureRecognizerState state;

    - (CGPoint)locationInView:(UIView*)view;

    UIGestureRecognizer 的孩子 有:

       UILongPressGestureRecognizer:

    NSUInteger numberOfTapsRequired; 

        UIRotationGestureRecognizer

    rotation

    velocity

        UISwipeGestureRecognizer

     UISwipeGestureRecognizerDirection direction; 

        UIPanGestureRecognizer

    - (CGPoint)translationInView:(UIView *)view; 

    - (CGPoint)velocityInView:(UIView *)view; 

        UIPinchGestureRecognizer

     CGFloat velocity;

     CGFloat scale; 

        UITapGestureRecognizer

    NSUInteger  numberOfTouchesRequired; 

     NSUInteger  numberOfTapsRequired; 

  • 相关阅读:
    HDU
    QDUoj GZS的三角形 棋盘里的数学 思维+杨辉三角
    HDU
    HDU
    CodeForces
    POJ
    QDUOJ 东北大炸弹 宝岛地图-枚举+数组记录+前缀和
    HDU
    QDUOJ 分辣条-01背包恰好装满情况
    HDU
  • 原文地址:https://www.cnblogs.com/guligei/p/3597313.html
Copyright © 2011-2022 走看看