行为表
行为表
// UIActionSheet UIAlertView
// destructive 慎重操作的button标题
UIActionSheet *sheet = [[UIActionSheet alloc]initWithTitle:@"tips" delegate:nil cancelButtonTitle:@"Cancel" destructiveButtonTitle:@"Delete" otherButtonTitles:@"Save", nil];
// showInView 在视图上显示
[sheet showInView:self.view];
// UIActionSheet UIAlertView
// destructive 慎重操作的button标题
UIActionSheet *sheet = [[UIActionSheet alloc]initWithTitle:@"tips" delegate:nil cancelButtonTitle:@"Cancel" destructiveButtonTitle:@"Delete" otherButtonTitles:@"Save", nil];
// showInView 在视图上显示
[sheet showInView:self.view];