Created
June 21, 2018 11:09
-
-
Save niwatako/dc5785f93db3b91636b2a7745f25546b to your computer and use it in GitHub Desktop.
How to Manage Edge Gestures #CodePiece #potatotips
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
potatotips #52 (iOS/Android開発Tips共有会) - connpass | |
https://potatotips.connpass.com/event/88164/ | |
## TachibanaKaoru How to Manage Edge Gestures iOS | |
今年はフリーランスで旅をしながら仕事をする取組中。 | |
iOSDCのCfP募集月曜まで!!応募してください。 | |
スワイプ、パン、フリックの話。 | |
どれがどれだか迷うことが多いですが、 | |
フリックは早くパンする | |
スワイプは画面をなぞる | |
ドキュメントではスワイプとフリックと言っているけどコードではSwipeとPanはコードの中で作られている。 | |
UIGestureRecognizerの話しになります。 | |
Edge Pan Gesture: Safariで前のページに戻ったりするやつ | |
古いiOSだと取れなかったけどiOS7ぐらいから、このためだけのGestureRecognizerができた。 | |
これらを使ってすべてのジェスチャーが取れるか? | |
エッジジェスチャーはかなりシステムに取られている。上から下ろすとNorificationCenter、右上からだとControl Center、下からも出てくる。 | |
システムジェスチャーを阻害する機能が去年から出ている。 | |
preferredScreenEdgesDeferringSystemGestures | |
1回めはAppにきて、二回目はSystemの方のジェスチャが呼ばれるようになる。 | |
StatusBar表示すると上部のEdgeフリックの制御ができない。 | |
アイドルマスターシンデレラガールズを見てみましょう。 | |
音ゲーは結構フリックを使う。ここでご操作を防いだりできる。 | |
Prevent System Gestureは基本的にやるな、UXが非常に妨げられる場合のみ使いましょう、というTipsでした |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment