views:

51

answers:

2

Hey, I was scratching my brains over something when this popped in my mind. Can we set the simulator's home-screen background image to an image of our choice. Case in point is x-code 3.2.2 simulator 3.1.3.

A: 

Undeleted this answer to account for anyone who might be searching for this question but for iPhone Simulator with iOS 4. The following method does work for me and I've been doing this since downloading SDK 4.


Yep, not just the home screen but the lock screen too (which you get to with Command ⌘+L):

  1. Drag an image from your Mac to the simulator.
  2. Mobile Safari opens. Click and hold the image.
  3. Choose Save Image.
  4. Go to Photos.app, and into the photo album.
  5. Choose your image, and set it as the home screen background like you do on a device.
BoltClock
hey BoltClock, tried it already. Couldn't meet success
Bogus Boy
@Bogus Boy: what happens when you try that? Which step do you have trouble at? It works perfectly for me.
BoltClock
@Bogus Boy: You should be accepting Gubb's answer since your question asks specifically about iOS 3.1.3, or edit your question to say SDK 4/iOS 4.
BoltClock
Hey, Grubb told me that home-screen background is changeable only in ios4 and above. I could do it for the simulator 4.0. So, problem solved. But have a look at the textview+Nsstring thing.
Bogus Boy
Yes, I accepted his answer. I got to learn many a things about this forum today. Thanks!!! Bolt/Gubb
Bogus Boy
Bolt if you could please look at the UITextView + NSSString issue. I have edited the original question and inserted an image as well to make communication easier.http://stackoverflow.com/questions/3574618/capturing-uitextview-data-in-an-nsstring
Bogus Boy
+1  A: 

Hmm. Probably, since you cannot set backgroundimage on your homescreen(exept from the locked view) on on actual iPhone pre iOS4, you cannot do so in the simulator either.

Gubb
Oops, I misread the question. This is the correct answer as OP's sim is at version 3.1.3.
BoltClock
Got it guys. What's accept rate though?
Bogus Boy
Hey, I tried it on X-code 3.2.3 and simulator simulator 4.0 also. by default this simulator has "waterdrops" image as background. It's not working here as well.Can anyone of you tell me why?
Bogus Boy
When you get an answer to your question that you are satisfied with you can(and should) click the check-sign to the left of the answer. This tells everyone that the question is answered and it gives the answerer credit(reputation) for answering. Read the FAQ for more information. :)
Gubb
If you're running the simulator with iOS4 it should be possible. Do as BogusBoy said:1. drag image to simulator(it opens in safari).2. hold-click the image and select "save image".3. got photos on home-screen.4. select the image and set it as home-screenimage.
Gubb
Yes Mr.Gubb it works just fine. Could you also tell me, what's the difference between home screen and lock screen? And this background feature is available from what simulator onwards?
Bogus Boy
And also tell me how could I retrieve the default "waterdrops" background?
Bogus Boy
voila, I just cracked this one. just delete the images from simulator\4.0..\library\springboard\ and you are good.
Bogus Boy
The homescreen is the iPhones unlocked state, where you see all your app-icons. The lockscreen is when you phone is locked. This feature is enabled from iOS4. Um, you could always reset the simulator to get the default back:In the top-menu: Goto the "iPhone simulator"-tab and chose "Reset Content and Settings.."
Gubb
Thank you Mr.Gubb. This is the first resolution I have had so far on this forum. You could understand why had such poor accept rate. Now that you have come to my rescue, I have a few other issues that need redressal. Can you also have a look at one of them herehttp://stackoverflow.com/questions/3574618/capturing-uitextview-data-in-an-nsstring
Bogus Boy
I undeleted my answer for the benefit of the doubt.
BoltClock