There is an undocumented method that you can call to add another line of text just below the title. The setMessage method accepts an NSString and will display the text in a font slightly larger than the title.
What follows is a short example to create an ActionSheet with an additional message displayed.
UIActionSheet *options = [[UIActionSheet alloc] initWithTitle:@"HomeBrewing Styles" delegate:self cancelButtonTitle:@"I Can't Decide" destructiveButtonTitle:nil otherButtonTitles:@"English", @"American", @"Imperial", nil]; [options setMessage:@"Select a Style of IPA:"]; [options showInView:self.view]; |
No comments:
Post a Comment