- (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingImage:(UIImage *)img editingInfo:(NSDictionary *)editInfo {
[self dismissViewControllerAnimated:YES completion:nil];
NSURL *kittenFileURL = [[NSBundle mainBundle] URLForResource:img withExtension:nil];
}
这是我的代码。警告我得到它不兼容的指针类型将'UIImage *__strong'发送到'NSString *'类型的参数当我去收集要上传到保管箱的用户图像的url时,它会使应用程序崩溃。有任何想法吗?