IOS and Android Touch event delivery

Source: Internet
Author: User

Read 2 articles First, well written, are all blog Park

iOS Touch Event Delivery http://www.cnblogs.com/Quains/p/3369132.html

Android Touch Event Delivery http://www.cnblogs.com/superlcr/p/3946034.html

After reading these 2 articles, you can find that the general idea of how iOS and Android handle touch events is consistent, starting with the root view, traversing the detection sub-view, and finding the appropriate view trigger specific event. 2 platforms have the ability to distribute touch events to intercept touch event delivery.

The following 2 images are stolen, this 2 figure from the top of the 2 links, compared to the following iOS and Android processing, here note, although the iOS and Android images do not look the same, but only different people's expression is not the same, the real logic is basically the same.

IOS and Android Touch event delivery

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.