I am new in ios. I am using Action sheet in my project.I want to ask that what can i do in order to add four buttons in UIaction sheet.
Here is my try code but it is showing four buttons on four different rows:
(IBAction)showNormalActionSheet:(id)sender {
UIActionSheet *actionSheet = [[UIActionSheet alloc] initWithTitle:@""?"
delegate:self
cancelButtonTitle:@"Cancel"
destructiveButtonTitle:@"Delete it"
otherButtonTitles:@"Copy", @"Move", @"Duplicate", nil];
[actionSheet showInView:self.view];
}