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

ralphbert

macrumors newbie
Original poster
May 19, 2011
2
0
Austria
Hello guys,

I'm looking for the name of the semi-transparent splash info that shows up when switching the sound on/off on the iPhone.

Please take a look a this screenshot if you don't know what I mean: http://twitpic.com/4zn5yt

I want to use this to inform the user about certain things in my app.

Is this feature open for developers or do I need to use a third party library to use it?

Thanks,
Ralph
 

dantastic

macrumors 6502a
Jan 21, 2011
572
678
it's just a uiview with some rounded corners & a bit of transparency.

If you want you can subclass & override hittest to allow touches to pass through.
 

PhoneyDeveloper

macrumors 68040
Sep 2, 2008
3,114
93
It's basically just an image with transparency displayed in a UIImageView. If you place the image view in another view and set the backgroundColor of the backgroundView to black and set its alpha to something like 0.6 and show that view it will look like this. There might be a few other details but that's pretty much it.

The white part of the image isn't transparent but the area surrounding it is transparent.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.