iOS 开发实用技术导航
NSHipster 中文版
http://nshipster.cn/
cocos2d 开源 2D 游戏引擎
http://www.cocos2d-iphone.org/
CocoaPods
http://cocoapods.org/
Google Analytics for Mobile 统计解决方案
http://code.google.com/mobile/analytics/
WWDC
https://developer.apple.com/wwdc/
Design Guides and Resources
https://developer.apple.com/design/
Transcripts of WWDC sessions
http://asciiwwdc.com
Cocoa with Love
http://cocoawithlove.com/
Cocoa Dev Central
http://cocoadevcentral.com/
NSHipster
http://nshipster.com/
Style Guides
Google Objective-C Style Guide
NYTimes Objective-C Style Guide
Useful Tools and Services
Charles Web Debugging Proxy
Smore
fyl00
V2EX  ›  iDev

有办法知道 UIPanGestureRecognizer 被取消的原因么?

  •  
  •   fyl00 · Apr 7, 2016 · 2396 views
    This topic created in 3772 days ago, the information mentioned may be changed or developed.
    想用 UIPanGestureRecognizer 实现 modalView 下拉消失的动画。(类似 Apple Music 的播放页面)
    但是在 handlePan 函数中通过 state 来实现动画的时候, state 是 began 之后,下一次就变成了 cancelled 了,而不是预想中的 changed 。
    所以现在想看看是什么原因导致手势直接被取消了,请问怎么分析?
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5368 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 06:00 · PVG 14:00 · LAX 23:00 · JFK 02:00
    ♥ Do have faith in what you're doing.