Is there a website or application which can entirely emulate an iPhone? All of the ones that I’ve tried…
…replicate the look of a web page on an iPhone in terms of CSS media queries, but php-mobile-detect still performs as though I am accessing the page via my desktop. This makes it impossible for me to load separate scripts for a mobile device.
As suggested in this answer, I’ve downloaded Xcode. But I don’t understand how to use it to load a web page with an emulated iPhone.
No. There is not. Some will argue that there are simulators that utilize the iOS kernal but they are sadly mistaken. Emulation for iOS can ONLY be done through the device itself or xCode on an Apple platform.
“With iOS Simulator you can simulate most of the actions a user performs on a device.”
http://developer.apple.com/library/ios/#documentation/Xcode/Conceptual/ios_development_workflow/25-Using_iOS_Simulator/ios_simulator_application.html