views:

38

answers:

1

Hello

I've two questions for you, which i can't solve:

1) How do I create a menu like this --> Example.
2) How can I add multiple images like the iApp named HotBook do?
.
Thanks in advance for your help.
Sean

A: 

Old post, but this may help others who come across the page...

For #1, that's a UIActionSheet. You can instantiate it with this:

UIActionSheet *actionSheet = [[UIActionSheet alloc] initWithTitle:@"Share" delegate:self cancelButtonTitle:@"Cancel" destructiveButtonTitle:nil otherButtonTitles:@"On Facebook", @"On Twitter", nil];
    [actionSheet showInView:self.view];
    [actionSheet release];  

Note that your UIViewController must conform to the UIActionSheetDelegate protocol.

Greg