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

Alphamacaroon

macrumors newbie
Original poster
Oct 25, 2008
3
0
Anyone know if there is a standard way to easily create an alert that pops up from the bottom of the screen with buttons and background that look like:

attachment.php


I've seen this in a few apps (like Facebook for example), but from all that I can find after reading into the SDK, those buttons and UIView must be created from custom images. Is this true? Is there a standard UI control or view that can be used to create these "aqua" buttons and background or do I have to photoshop them myself and create them using custom buttons?

Any help would be greatly appreciated.

Cheers,

-alpha
 

Attachments

  • Screenshot 2008-10-25 18:30:27 -0700-1.jpg
    Screenshot 2008-10-25 18:30:27 -0700-1.jpg
    20.5 KB · Views: 2,845

xnakx

macrumors newbie
Oct 5, 2008
17
0
that be an actionsheet!
Code:
actionSheet = [[UIActionSheet alloc] initWithTitle:@"My ActionSheet Title" delegate:self cancelButtonTitle:nil destructiveButtonTitle:@"OK" otherButtonTitles:nil];
			actionSheet.actionSheetStyle = UIActionSheetStyleDefault;
			[actionSheet showInView:self.view]; 			
[actionSheet release];
 

Alphamacaroon

macrumors newbie
Original poster
Oct 25, 2008
3
0
UIThreePartButton

I was playing around with this and thought I would take a look at what was under the covers using actionSheet.subviews.

The debugger shows the buttons as a class of UIThreePartButton. These are neat little buttons and would be nice to be able to use them elsewhere. Anyone have any information on UIThreePartButton? Has anyone else used them outside of the action sheet?

Just curious as they don't seem to be documented.

-alpha
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.