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

tomas123

macrumors newbie
Original poster
Jan 29, 2010
10
0
Hello everyone
I would very much like to know how I can use the iphone default background (just the actual buttons on the black background) as a background for my app. - like they do in the iWash bikini girl app. Does anyone know?
regards from tomas.
please help :)
 
I believe the program is set to take a screenshot of the home screen on launch, then uses that image as the background for the app.
 
hey thanks for your answer
That sound like a good way to do it :)
But - how can that be that done? - how do I take a screenshot of the home screen on launch?
 
Not sure if this will help, but this is how you can take a screen shot in the app:
Code:
UIGraphicsBeginImageContext(self.view.bounds.size);
	[self.view.layer renderInContext:UIGraphicsGetCurrentContext()];
	UIImage *screenshot = UIGraphicsGetImageFromCurrentImageContext();
	UIGraphicsEndImageContext();
Note: You may need to import <QuartzCore/QuartzCore.h> in your class file for this to work.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.