<kbd id="afajh"><form id="afajh"></form></kbd>
<strong id="afajh"><dl id="afajh"></dl></strong>
    <del id="afajh"><form id="afajh"></form></del>
        1. <th id="afajh"><progress id="afajh"></progress></th>
          <b id="afajh"><abbr id="afajh"></abbr></b>
          <th id="afajh"><progress id="afajh"></progress></th>

          ZCSHoldProgressiOS 長按手勢處理

          聯(lián)合創(chuàng)作 · 2023-09-27 04:09

          ZCSHoldProgress是UILongPressGestureRecognizer的子類擴(kuò)展。用來處理長按手勢事件。

          示例代碼:

          #import "ZCSHoldProgress.h"
          
          ZCSHoldProgress *holdProgress = [[ZCSHoldProgress alloc] initWithTarget:self action:@selector(gestureRecogizerTarget:)];
          holdProgress.minimumPressDuration = 3.0;
          [self.view addGestureRecognizer:holdProgress];
          
          - (void)gestureRecogizerTarget:(UIGestureRecognizer *)gestureRecognizer {
              if (gestureRecognizer.state == UIGestureRecognizerStateBegan) {
                  // TODO: do something interesting
              } else if (gestureRecognizer.state == UIGestureRecognizerStatePossible) {
                  // TODO: knock it off with the interesting stuff
              }
          }
          瀏覽 22
          點贊
          評論
          收藏
          分享

          手機(jī)掃一掃分享

          編輯 分享
          舉報
          評論
          圖片
          表情
          推薦
          點贊
          評論
          收藏
          分享

          手機(jī)掃一掃分享

          編輯 分享
          舉報
          <kbd id="afajh"><form id="afajh"></form></kbd>
          <strong id="afajh"><dl id="afajh"></dl></strong>
            <del id="afajh"><form id="afajh"></form></del>
                1. <th id="afajh"><progress id="afajh"></progress></th>
                  <b id="afajh"><abbr id="afajh"></abbr></b>
                  <th id="afajh"><progress id="afajh"></progress></th>
                  A片网站在线免费观看 | 少妇高潮av久久久久久 | 国产白浆一区二区三区 | 一级操B视频 | 有码中文 |