您的位置:首页 > 产品设计 > UI/UE

UIActionSheet的使用

2015-06-20 23:34 519 查看
//UIActionSheet————————————————————————————————————————————————————————————————

- (void) showInfo:(NSNotification *) notice{

// NSLog(@"键盘马上出来了,%@",notice.userInfo);

// UIActionSheet * action=[[UIActionSheet alloc] initWithTitle:str delegate:self cancelButtonTitle:@"cancle" destructiveButtonTitle:@"destructive" otherButtonTitles: @"bt1",@"bt2",@"bt3",@"bt4",nil];

// [action showInView:self.view];

}

//UIActionSheet代理方法

- (void)actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex

{

// NSLog(@"%li", buttonIndex);

}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: