UIImagePickerController 不能弹出回调窗口或者是弹出拍完照后不能进行回调SDPerformVC类中 TakePhoto *takePh UIImagePicker 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 if ([UIImagePickerController isSourceTypeAvailable:UIImagePickerControllerSourceTypeCamera]){ UIImagePickerController *controller = [[UIImagePickerController alloc] init]; controller.sourceType = UIImagePickerControllerSourceTypeCamera; __weak id imagePickerDelegate = self; controller.delegate = imagePickerDelegate; controller.allowsEditing = YES; [self presentViewController:controller animated:NO completion:nil]; } else { UIAlertView *alter = [[UIAlertView alloc]initWithTitle:nil message:@"Camera not available" delegate:self cancelButtonTitle:@"OK" otherButtonTitles:nil]; [alter show]; } tableview 等图片下载完再更新cell内的uiimage? 关于iOS 加密解密的问题, IPAD上HTML5音乐自动播放问题 iphone 图片浏览 UITableView数据绑定问题 ios apns心跳抓包 如何获取接口中的视频url地址后直接显示出来 NSString* LRCPath = [[NSBundle mainBundle]pathForResource:currentMusic.name ofT IOS提交审核问题 iOS 通知传值失败 ”苹果OS“ 组装机能不能下载安装! UIView 动画失效问题
UIImagePickerController *controller = [[UIImagePickerController alloc] init];
controller.sourceType = UIImagePickerControllerSourceTypeCamera;
__weak id imagePickerDelegate = self;
controller.delegate = imagePickerDelegate;
controller.allowsEditing = YES;
[self presentViewController:controller animated:NO completion:nil];
}
else
{
UIAlertView *alter = [[UIAlertView alloc]initWithTitle:nil message:@"Camera not available" delegate:self cancelButtonTitle:@"OK" otherButtonTitles:nil];
[alter show];
}