サーバーから選択した画像のパスを保存し、後でそのパスにアクセスして、ユーザーがデータベースを取得してクリックしたときにその画像を表示する必要があります。
-(void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info
{
NSString *urlPath = [info objectForKey:@"UIImagePickerControllerReferenceURL"]absoluteString];
}
そしてそれをデータベースに保存します。
assets-library://asset/asset.JPG?id=E1136225-97DE-4BF4-A864-67E33D60737A&ext=JPGとして保存し ました
次に、インポートしたいImageview
UIImageView *iv = [[UIImageView alloc]init];
iv.image = [UIimage imageWithData:[NSData dataWithContentsOfURL:[NSURL URLWithString:imagepath]]];
しかし、それは機能していません