Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Dal123

macrumors 6502a
Original poster
Oct 23, 2008
903
0
England
I'm trying to preview websites on my mac. I cannot find anything to preview websites as they would like on the Iphone 5. But I cannot find anything to do this?
 
I'm trying to preview websites on my mac. I cannot find anything to preview websites as they would like on the Iphone 5. But I cannot find anything to do this?

Try Apple's Xcode:

https://developer.apple.com/xcode/

EDIT: Here's the relevant blurb...

Xcode is Apple's powerful integrated development environment for creating great apps for Mac, iPhone, and iPad. Xcode includes the Instruments analysis tool, iOS Simulator, and the latest Mac OS X and iOS SDKs.
I don't have experience with it so I can't say definitively if it'll work for what you need but, well, it sure sounds like it will.
 
Last edited:
i have used xcode exactly for this, i don't do native apps, but i have done a bunch of my own web apps.
It makes an simulated iOS device on your screen.
you can choose what kind of device, so you get the correct screen resolution.
you can even rotate the virtual device and see how that affects your output.

no need to purchase a dev account. (you might need to sign up for the free portion to be able to download)
 
As far as I know I have the latest version of xCode installed and have used the simulator numerous times, but I don't see the iPhone 5 or iPad Mini as device options.
 
i'm running x-code version 4.5.2

it doesn't have the ipad mini, but does have everything else
version 4.6 is out, so the mini might be there.

the menu options are
  • iPad
  • iPad (Retina)
  • iPhone
  • iPhone (Retina 3.5-inch)
  • iPhone (Retina 4-inch)
 
i'm running x-code version 4.5.2

it doesn't have the ipad mini, but does have everything else
version 4.6 is out, so the mini might be there.

the menu options are
  • iPad
  • iPad (Retina)
  • iPhone
  • iPhone (Retina 3.5-inch)
  • iPhone (Retina 4-inch)

I'll check mine again. Don't remember seeing the 4" iPhone. Will also check to see if there's an update available.
 
i'm running x-code version 4.5.2

it doesn't have the ipad mini, but does have everything else
version 4.6 is out, so the mini might be there.

the menu options are
  • iPad
  • iPad (Retina)
  • iPhone
  • iPhone (Retina 3.5-inch)
  • iPhone (Retina 4-inch)

The Mini has the exact same resolution (1024x768) as the non-Retina iPad, so no need for a separate option there.

Dal123 - from what I recall, create an empty do-nothing app and launch it into the iOS simulator. Then hit the home button of the simulated iOS device. Mobile Safari is one of the few default apps installed in the simulator.
 
or, you can drill down through the folders to the simulator application, and then make an alias somewhere that's more convenient.

right click on xcode, click show package contents.

then open the following folders...

Contents
Developer
Platforms
iPhoneSimulator.platform
Developer
Applications.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.