Tip:
Highlight text to annotate it
X
the i_r_s_ simulator can work has either an iphone bore and i've had and it's
just a way to test our applications without having to copy all the files to
a physical device
now there are some things
that can only be tested with a real high for my dad so it doesn't remove the need
for one during the process but it's a very convenient thing to have
and will mostly be using the simulation this course
you can start up the i_r_s_ simulator by itself
that usually just let xcode launch it when you need it
annex code will take care of copying over your application to the simulator
and starting it up
but there are a few things to know about this simulator number one it doesn't
have a camera
and it doesn't just use say a camera on a laptop or display that is going to be
a problem if your application needs to access the camera while something to be
aware of remember it is perfectly legitimate
fran i a list of eyes
to not have a camera for example the third generation ipod touch will run
iris five but does not have a camera at the first pipette does not have a camera
and i think is we don't have a really travel rama so that's the part
of the eye from the detects the position that it's being held in
and can even detect g force whether it's being swung around or shaken again i
might now be important for your application but if you have a napa needs
to be controlled by tilting you're going to need to use a real device
however build in to the i_r_s_ simulator is the ability to change orientation
there's any hardware menu
weakened rotated the from the left and right and
c if your application correctly chefs when one perspective to another and can
even kickoff h_h_s_ if they don't see that being animated you can respond to
it
the hardware menu is also where i can change this
and hype adaran i've gone with the retina display
and you can also do
a couple of other things from this such as ta goldie
incall status bar do want to see how you have occasion to look at somebody
phones while the actors in use
just dismissed that and you can also trigger
simulated memory warnings
another behaves quite like a knife a knife except for the fact that as you
can see there are not a lot of applications and stop
bus which screens here i've got my simple hello world application which
will start up
but back on the mainstream there's no mail application uh... music at no
calendar no camera
well it's quite common israel end up with a whole lot of
testing applications if you want to delete them
you can do at the same way you would on a normal iphone which is you hold it
down
until the machine goes into the shaky muppet
and you can just delete that application
or alternatively if you have quite a lot of them
where you can also do
is go to the i_r_s_ simulator menu and say
resets content
and settings to take it back to the original way that it wants
just the basic applications so while there are a few limitations and features
wanting to be aware of is this is not a substitute for real performance checking
on a real device because we are running the simulator that's on the cpa you on
our laptop or art best off and you can have different capabilities on the
iphone itself
is very convenient it's often quicker too good of the simulator to test a napa
rather than copied to device
and you'll be using an along as you write your i_r_s_ applications