美文网首页iosiOS_UIKit
UIPreviewInteraction 3d按压

UIPreviewInteraction 3d按压

作者: 絮语时光杨 | 来源:发表于2018-05-14 14:36 被阅读0次
    • (instancetype)initWithView:(UIView *)view
      view:要按压的view
    • (CGPoint)locationInCoordinateSpace:(id<UICoordinateSpace>)coordinateSpace;
      返回用户当前按压屏幕的坐标
    • (void)cancelInteraction;
      停止

    代理

    • (void)previewInteraction:(UIPreviewInteraction *)previewInteraction didUpdatePreviewTransition:(CGFloat)transitionProgress ended:(BOOL)ended UIKIT_AVAILABLE_IOS_ONLY(10_0); // transitionProgress ranges from 0 to 1
    • (void)previewInteractionDidCancel:(UIPreviewInteraction *)previewInteraction

    相关文章

      网友评论

        本文标题:UIPreviewInteraction 3d按压

        本文链接:https://www.haomeiwen.com/subject/idtjdftx.html