Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Alessandro Maculotti
4,954 PointsiPhone simulator
Hi..
On a video of mediaquery (https://teamtreehouse.com/library/websites/css3/media-queries/devicewidth-and-deviceheight) Nick use a simulator iPhone..
Where Can I found it software?
Best Regards, and sorry for my english bad.
Maqquo.
4 Answers
Andy Brown
6,310 PointsIf you are running a server (php or rails app) then you can connect to your machine's IP address at the port your server is running on. Just type your IP address and port in your mobile browser.
This is a good way to bypass the need for the simulator as well as being able to physically interact with your website on a mobile device during development.
Edit: forgot to mention that you need to be connected to the same network in order to do this.
Dave Campbell
Front End Web Development Techdegree Graduate 31,314 PointsIf you download Apple Xcode https://developer.apple.com/xcode/ there is an Apple device simulator within the applications.
Alastair Micallef
2,530 Pointsthe only why you can use an iphone simulator is to download xcode but you need to have a mac to do that; and if you have a mac you can download it from the mac app store hope this helps
Alessandro Maculotti
4,954 PointsThanks to everybody!!
Alessandro Maculotti
4,954 PointsAlessandro Maculotti
4,954 PointsAndy it's a very great soultion!! May you write me an example? please. thanks so much..
maqquo
Andy Brown
6,310 PointsAndy Brown
6,310 PointsI am traveling right now so I am unable to access the same ip from my phone, but the screenshot shows the iPhone simulator connecting to the ip address I am on.
This will work the same way with your phone (assuming you are on the same ip address)