- (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingImage:(UIImage *)img editingInfo:(NSDictionary *)editInfo {
[self dismissViewControllerAnimated:YES completion:nil];
NSURL *kittenFileURL = [[NSBundle mainBundle] URLForResource:img withExtension:nil];
}
這是我的代碼。警告我得到它不兼容的指針類型發送'UIImage * __強'到'NSString *'類型的參數當我去收集用戶圖像的URL上傳到保管箱,它崩潰了應用程序。有任何想法嗎?不兼容的指針類型發送'UIImage * __ strong'到參數的類型'NSString上傳到保管箱