<底部弹出框来提示用户信息>
1.遵循代理方法<UIActionSheetDelete>
2.调用放法 [UIActionSheet *sheet=[UIActionSheet alloc]initWithTitle:@“通关了!” delegate:self cancelButtonTitle:@“取消” destructiveButtonTitle:@“购买” otherButtonTitles:@“购买1”,@“购买2”,nil]
[sheet showInView:self.view];
3.点击第几个按钮根据ButtonIndex 传值 调用代理方法
- (void)actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex
{ NSLog(@"%d,执行完UIActionSheet的代理方法时调用这个方法",buttonIndex); }