Debugging iPhone Safari from a PC (without an Apple device)

可紊 提交于 2021-01-29 09:11:43

问题


Is it possible to debug iOS Safari without owning an Apple device?


I've deployed a React app I've been working on, and later found out the app looked weird when viewed from an iPhone. I live in a country where iPhones are not as popular, and I don't own any Apple device myself.

  • I manually tested the iPhone view using both Firefox's and Chrome's responsive design mode, but couldn't replicate the bug.

  • I've searched for ways to debug iOS Safari from a PC, and(1) found(2) some(3) answers(4), but they all require owning an Apple device.

  • I've found a list of services that simulate iOS, but they are either paid services (not an option), or fail to replicate the bug.

  • I even considered asking iPhone users to access the app from a different browser, but apparently, all browsers on iOS are basically Safari.

After endless blind CSS tweaking, I managed to fix it. But for the sake of future development and others who struggle with this, I'd like to know if it's possible at all. Thanks :)

来源:https://stackoverflow.com/questions/63358968/debugging-iphone-safari-from-a-pc-without-an-apple-device

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!