Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iPad Browser Simulator? [closed]

Tags:

testing

ipad

How can I use a browser in Windows to simulate the iPad browser?

like image 470
Mina Wissa Avatar asked Jun 27 '10 09:06

Mina Wissa


People also ask

How do you open an iPad simulator?

The basic way to open a list of simulators is to use Xcode -> Window -> Devices and Simulators. Here you can create and manage all available simulators. But you cannot run them directly. You need to build your application on the simulator, and then you can run it.

How do I open the Safari simulator?

You'll need to go to Settings > Advanced and check the Show Debug Menu option. Then you'll see the option to open the web inspector for the Simulator right from that menu. With the Web Inspector open, you can debug inside the Simulator just like you could right in a desktop browser with DevTools.

Does Safari have an emulator?

The installed Safari versions are from the official Apple installation packages and they are not fake browser emulators or simulators. To access Safari from Browserling, you don't have to install any additional software as Browserling is powered by HTML5 and JavaScript.

How do I download iPad simulator?

Open Xcode and click Menu > Xcode > Preferences > Select Components, and then choose the simulator version you want to download. When a simulator is opened from AppStudio, AppStudio Player automatically installs (if necessary) and opens in it.


3 Answers

The best approach I found is in Apple's Technical Note TN2262: Preparing Your Web Content for iPad.

  1. Test your website on iPad, and update user agent detection code if necessary
  2. Use W3C standard web technologies instead of plug-ins
  3. Check your viewport tag settings
  4. Modify code that relies on CSS fixed positioning
  5. Prepare for a touch interface
  6. Use textareas instead of contenteditable elements

The user agent thing under the Simulating Safari on iPad HTTP requests in Safari on the desktop was really helpful.

like image 122
Mina Wissa Avatar answered Sep 21 '22 00:09

Mina Wissa


You're probably best off:

  1. Downloading Safari for Windows.
  2. Disabling plugins (e.g. Flash).
  3. Resizing to the dimensions of the iPad's screen.

Safari for the desktop and Safari for iOS use the same core (WebKit), so you'll get the most reliable rendering reproduction. You'll miss the fancier zooming/relayout functionality, but for many purposes, it will probably work OK.


I should note for the record that Google Chrome and some other, lesser-known browsers also use WebKit, but Safari for the desktop is more likely to reproduce the results of Safari for iOS, since they're both maintained by Apple.

like image 30
Nicholas Knight Avatar answered Sep 21 '22 00:09

Nicholas Knight


Shaun Sullivan created iBBDemo2, which is an ipad/iphone simulator using Adobe Air.

It's not quite the same (e.g. elements with overflow: scroll; get scroll bars here, while they don't on the actual device) but it can give you a good idea of how your website would look.

like image 25
Olly Hodgson Avatar answered Sep 20 '22 00:09

Olly Hodgson