Front-end ios

Pitfalls encountered in software development compatible with ios

 Using window.open to open the page fails

      This method is commonly used for pop-up windows on iOS and will be intercepted

      Instructions:

              Use this method to jump to the page through click events

              Replace window.location.href to jump to the page

Click on the input box to focus on the page to enlarge the problem

Add the following code to the head of the html page

 <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">

            

           

             

             

     

Supongo que te gusta

Origin blog.csdn.net/weixin_53105591/article/details/127490517
Recomendado
Clasificación