Reputation: 21
I am looking to add to my iOS app a control that looks like this menu on the bottom:
Can anybody tell me what control that is? Does not look like Picker View.
Upvotes: 1
Views: 680
Reputation: 62052
That is a UIActionSheet
. Official Documentation
It cannot be dragged in from the list of UI elements. It is presented programmatically very similar to a UIAlertView
.
UIActionSheet *actionSheet = [[UIActionSheet alloc] initWithTitle:@"Title"
delegate:self cancelButtonTitle:@"Cancel Button"
destructiveButtonTitle:@"Destructive Button"
otherButtonTitles:@"Other Button 1", @"Other Button 2", nil];
[actionSheet show];
Upvotes: 4