UIActionSheet

创建一个事件表格

        UIActionSheet *as = [[UIActionSheet alloc]initWithTitle:nil delegate:self cancelButtonTitle:@"取消" destructiveButtonTitle:nil otherButtonTitles:@"账户收款查询",@"账户付款查询",@"转账到银行卡查询", nil];

           as.actionSheetStyle = UIActionSheetStyleAutomatic;

在某个view中展

[as showInView:[UIApplication sharedApplication].keyWindow];

原文地址:https://www.cnblogs.com/zhaozhongpeng/p/4867763.html