When developing mobile web pages, you often have the problem of having ios compatible devices, but you don’t have a test machine on hand, so you have to borrow someone else’s iPhone. In order to solve the problem once and for all, I looked around and found this ios real machine simulation tool Xcode.

Note: Xcode only supports MAC installation

  1. Install Xcode in the App Store
  2. Menu bar select Xcode->Open Developer Tool->Simulator
  3. It can be used after it is powered on

I have encountered the problem that the simulated environment cannot access the Internet in use. The solution is to enter the MAC system preference Settings -> Network -> Advanced -> Proxy and cancel the proxy