问题
How can I emulate iPad browser under windows? I know user agent string and I know browser width/height, screen width/height
回答1:
I believe if you emulate the User Agent of the iPad and set your windows size appropriately, you can use Safari (windows download from apple.com) and works pretty cool.
Also i haven't tested this, but http://code.google.com/p/ibbdemo2/ looks like a great iPad emulator.
回答2:
For anybody else still looking, follow these steps for Safari 4+ : Mobile Safari Settings on Desktop Safari
回答3:
It can be done via Browser Stack
回答4:
So do you guys know there is one more option and that is google chrome. Yes google chrome provides developer toolbar where you can inspect your element or debug your js files or you can see what are the requests your site is hitting and receiving in the network panel.
It also having "Console" where you can emulate your site to different devices view.
Follow the steps below:
- Open your site in latest google chrome.
- Now right click and select "inspect element" or (F12) to get the devloper toolbar where you will find "Elements,Network,Sources....Console".
- Click on console.
- Now in the developer toolbar if you see at extreme top right you will find few options like "close the developer toolbar with cross (X) mark" but you click on "show drawer having this symbol (>-) kinda".
- Now within the toolbar it will populate console,Search,emulation,Rendering.
- Click on emulation option.
- Just enable the emulation.
- Now happily select whatever device you want and plus it will also tells you what is the resolution.
Please let me know if this is what you want and also ping me if you have any issue. You can read more here.
I am enable to add image since my rating is less by "1". if I get that rating I will attach image and then it will be clear to all. The previous link has images if you want to check it out thought.
回答5:
http://transmog.net/ try this site. I use for testing on linux.
来源:https://stackoverflow.com/questions/4555005/how-can-i-emulate-ipad-browser-on-windows