IOS WebView section selected text in a link

Source: Internet
Author: User

This is one of the most wonderful problems I have encountered this week.

To put a successful one first:

A text-to-picture List page, when you need to select some text to copy, iOS two goods each time is directly selected the entire list item, no matter how to operate its marquee there is no way to do partial selection.

After careful consideration and experimentation, two solutions were found:
First, put the text that needs to be selected into Input[text], and then use Oninput to shield the input of input;
Second, the analysis of HTML/CSS research under the iOS why is always silly division is not clear, only the whole block of the selection;

Scheme one, the perfect implementation of long press selected, partial replication. But, will inevitably pop-up system input method, product manager to experience too bad directly shoot off, helpless, continue to research program two.

Skip the process and write the summary directly:

1.ios browser when the HTML node is too dense and the spacing is too small,

IOS WebView section selected text in a link

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.