title: sweet alert can not working on iOS [ PHP ]
body: <p>I've problem about sweet alert working on webpage &amp; android mobile normally,
  But not working on iOS mobile.
  how to fix this?</p>
  <pre><code>&lt;script src=&quot;&lt;?=$path?&gt;/sweetalert.min.js&quot;&gt;&lt;/script&gt;
  &lt;script src=&quot;&lt;?=$path?&gt;/jquery.sweet-alert.custom.js&quot;&gt;&lt;/script&gt;
  &lt;script language=&quot;javascript&quot;&gt;
      function aalert(text){
          swal(&quot;&lt;?=$wording_lan[&quot;found_error&quot;]?&gt;!&quot;, text, &quot;error&quot;); 
      }
  
      function aconfirm(txt,link){
          swal({   
              title: &quot;Are you sure?&quot;,   
              text: txt,   
              type: &quot;warning&quot;,   
              showCancelButton: true,   
              confirmButtonColor: &quot;#53E69D&quot;,   
              confirmButtonText: &quot;OK&quot;,   
              closeOnConfirm: false 
          }, function(){
              swal({   
                  title: &quot;Success !!&quot;,   
                  type: &quot;success&quot;,   
                  timer: 1000,   
                  showConfirmButton: false 
              });  
              setTimeout(function(){ 
                  window.location = link;
              }, 1000);
              
          });
      }
  &lt;/script&gt;
  </code></pre>