我可以在 UIAlertView 中实现一个滚动条来放置所有按钮吗?我有太多按钮无法放入弹出窗口。更好的解决方案?
- (IBAction)SortButton:(id)sender;
{
UIAlertView *alert = [[UIAlertView alloc]
initWithTitle:@""
message:@""
delegate:self
cancelButtonTitle:@"Cancel"
otherButtonTitles:@"Name", @"Country", @"Popularity", @"Fill", @"Freshness", @"Price", @"Alcohol", nil];
[alert show];
[alert release];
}