タッチジェスチャーとたたかう

Sponsored · SiteGround - Reliable hosting with speed, security, and support you can count on. →

 タッチジェスチャーとたたかう

Potatotips #61で発表したスライドです!!

https://potatotips.connpass.com/event/127296/

iPhone6sから追加された「エッジプレス」機能がアプリ内の操作と喧嘩した話。
今は和解しました。

拙作アプリ「パズル&モナーク」
https://apple.co/2IvHZID

Blog
http://blog.livedoor.jp/tek_nishi/

Nobuyuki Nishiyama

May 15, 2019

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

18 slides
  1. ࣮ͬͦ͘͞૷ void disable(UIView* view) { // UIWindowを取り出す auto* window =

    view.window; // ジェスチャーは2つあるらしい for (int i = 0; i < 2; ++i) { // UIGestureRecognizerを取り出す auto* gr = view.gestureRecognizers[i]; // 「タッチ開始イベントの遅延」をOFF gr.delaysTouchesBegan = false; } }

More Decks by Nobuyuki Nishiyama

Other Decks in Programming