| 注册
请输入搜索内容

热门搜索

Java Linux MySQL PHP JavaScript Hibernate jQuery Nginx
jopen
10年前发布

UIActionSheet的使用

//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);  }