forked from jpdery/moobile-simulator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
30 lines (18 loc) · 897 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
About
-----
This is a iOS simulator that you can use to view your websites on an iOS device.
Use
---
You can see this code in action here: http://shelfworthy.github.com/moobile-simulator/
All you need to do is click `open` in the button bar and enter a full web address (include the http://).
Because we can't set the user agent of the iframe used to load the site, you might also want to use an iOS user agent.
Advantages over the xcode simulator
-----------------------------------
The xcode simulator is great for a lot of things, but it does have some downsides.
- it requires you to install xcode
- no web inspector
- slightly more difficult to reload the current page
How to build
------------
If you are working on the code, built the consolidated js file using the following command:
./build Moobile-Simulator/* Core/* More/* Extras/* Class-Extras/* > js/moobile-simulator.js