Author Topic: Emulator for iOS on Windows  (Read 242 times)

Chunkford

  • Inner Core
  • Hero Member
  • *
  • Posts: 971
    • View Profile
Emulator for iOS on Windows
« on: October 19, 2017, 10:53:11 AM »
I have nothing apple. Nada, nothing, but I've been told I have an issue with a button on my website that has an on click jquery function attached to it using their iphone.
I've managed to track down someone with an iphone and had a look and it works as intended.
My only thought is that they are using an old iphone - still waiting for them to get back to me.
Is there anything out there you can recommend that I can use on a Windows PC that will emulate using different versions of iOS/safari so I can a) see this problem happening and b) try and fix it

"If my answers frighten you then you should cease asking scary questions"

ukgimp

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1724
    • View Profile
Re: Emulator for iOS on Windows
« Reply #1 on: October 19, 2017, 10:56:03 AM »
Emulators don't always work.

I made a dev I was working with buy an older iPhone. Some things only show. Remember screen size, look at your user data. eg if loads are  on iphone5 etc, you need to make sire you CTA does not fall off the page.

Chunkford

  • Inner Core
  • Hero Member
  • *
  • Posts: 971
    • View Profile
Re: Emulator for iOS on Windows
« Reply #2 on: October 19, 2017, 11:02:57 AM »
I thought that would be the case.
It's a button on the checkout for an address lookup, but looking at the stats, the older iphones users are very small indeed, but it's annoying now that I know about it.
"If my answers frighten you then you should cease asking scary questions"

Chunkford

  • Inner Core
  • Hero Member
  • *
  • Posts: 971
    • View Profile
Re: Emulator for iOS on Windows
« Reply #3 on: October 19, 2017, 01:51:31 PM »
Fix it!!!!

Code: [Select]
$(document).on("click", "#button", function(event) {...need to have 'touchstart' aswell as 'click'
Code: [Select]
$(document).on("click touchstart", "#button", function(event) {...
"If my answers frighten you then you should cease asking scary questions"