I already had this working for most phone but for some reason iPhones will not work.
I've create a button and changes the meta tag with jquery:
$( document ).ready(function() {
$("#desktopversion").click(function(){
$('meta[name="viewport"]').prop('content', 'width=1380, initial-scale=0');
});
$("#nvs").click(function(){
$('meta[name="viewport"]').prop('content', 'width=1380, initial-scale=0');
});
});
But for some reason, the page gets cut off on iPhone
Any idea what I might be doing wrong?
Thanks in advance!