首页 > 代码库 > UIActionSheet 选择按钮列表

UIActionSheet 选择按钮列表

-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event

{

    UIActionSheet * sheet = [[UIActionSheet alloc] initWithTitle:@"确定要清空图片缓存?" delegate:self cancelButtonTitle:@"取消" destructiveButtonTitle:@"确定" otherButtonTitles:nil, nil];

    [sheet showInView:self.view];

}

 

UIActionSheet 选择按钮列表