用户登录
用户注册

分享至

UIActionSheet的使用

  • 作者: 约翰就越深v
  • 来源: 51数据库
  • 2022-08-17
//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);
}

软件
前端设计
程序设计
Java相关