您的位置:首页 > 其它

从相册选取图片

2015-11-17 23:52 337 查看
//从相册选取
UIImagePickerControllerSourceType sourceType = UIImagePickerControllerSourceTypePhotoLibrary;

UIImagePickerController*picker = [[UIImagePickerController alloc] init];

picker.delegate = self;

picker.allowsEditing = YES;

picker.sourceType = sourceType;

[self presentViewController:picker animated:YES completion:nil];
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: