Ios does not support iframe solutions (compatible with iOS & amp; Android) and iframeios

Source: Internet
Author: User

Ios does not support iframe solutions (compatible with iOS and Android) and iframeios

Recently, I made a public number page. Because the entrance is different, I need to extract the public page and pass it to different backend entries based on different values. At the beginning, iframe page nesting (first attempt) was used. However, it was found that the height and Positioning Control of the iframe nested page in iOS system were not in place, as shown in, when the height of the nested child page is greater than the height of the parent page and a pop-up event is triggered on the Child page, if the height of the Child page is much greater than that of the parent page, the bullet box cannot be found. In fact, it may be in the lower corner of the view. The position of the bullet box is located only relative to the sub-page, and it is not relative to the view. I tried a variety of methods, which were not ideal, while the Android system was doing well, so I thought that the iOS system could directly perform page Jump, while the Android system uses iframe normally (if the Android system directly performs page Jump, there will be a problem, that is, when the physical return key is pressed, the content of the previous form submission page cannot be cleared normally, in addition, if multiple forms are nested, the corresponding column may be out of order. Therefore, use iframe) to directly view the Code:

<! DOCTYPE html> 

After a long time, I recorded my own growth. If you have any friends who have encountered similar problems, you can take a look at them and hope to see the improvements and give me more advice.

 

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.