iOS debug found pits, record a bit

Source: Internet
Author: User

Public number development avoids the need to use the Mobile client program. To tell you the truth, this tool is really useful. Where the mobile debugging is really able to debug the discovery of a small problem.

Especially the iphone, the most problematic. Many JS scripts are normal on a PC or Android phone. Put to iOS will be inexplicable error.

A small problem was discovered today. is about the time function date. The iOS browser does not support YYYY-MM-DD conversions. It only supports the YYYY/MM/DD format.

In addition iOS does not support window.open this way, support window.location.href

There is also a JS replace function. Only replace the first matching character with a single one.

iOS debug found pits, record a bit

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.