• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Issue with TOUCH_END not firing when dragging outside in iOS 9

Engaged ,
Sep 18, 2015 Sep 18, 2015

Copy link to clipboard

Copied

We're seeing an issue with dragging outside the stage in an AIR app in iOS 9 in a specific scenario:

-  App is only available for iPhone and not iPad (UIDeviceFamily is 1)

-  App is being used on an iPad, which scales that iPhone app up using its 1X / 2X compatibility mode

-  iPad is using iOS 9

In our app, we have a scrolling panel of items, where users can drag this panel left and right to see more items within.  Under previous versions of iOS, when the user made an extreme swipe where their finger went outside the bounds of the game (or onto the bezel outside the screen), this would fire a TOUCH_END event.  In iOS 9 however, it seems this touch event is just completely lost once their finger goes outside the bounds of the app window, and a TOUCH_END event never fires.  Continuing the motion and dragging that finger back inside the screen and releasing after this happens will also not fire a TOUCH_END event.  This is especially problematic when dealing with multitouch, as we keep track of a touchPointID when doing a startTouchDrag on that panel, and listen for a TOUCH_END where the touchPointID matches the ID that started the drag.

Note that this seems to ONLY be occurring in the scenario mentioned above:  an iPhone-only app being used on an iPad under compatibility mode, and only on iOS 9.  This issue is not occurring on iPad-only or Universal apps (the TOUCH_END is correctly firing when dragging out-of-bounds for those).  Also the same issue is occurring with no MOUSE_UP events being fired as well -- though this isn't as much of an issue as missing the TOUCH_END with its touchPointID for correctly handling multitouch events.

I'm not sure if this is an issue on Apple's end with changing the behavior of touch events in iOS 9, or if it's an issue on Adobe's end with interpreting the touch events being sent in iOS 9.  If anybody has any insight on if this is an AIR issue or an Apple issue it would definitely be appreciated.

TOPICS
Development

Views

329

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Sep 21, 2015 Sep 21, 2015

Copy link to clipboard

Copied

LATEST

I've added this to the bugbase with steps on reproducing the issue here:

Bug#4060581 - TOUCH_END not occurring when dragging outside in iOS 9

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines