With PHP I am returning image blob from MySQL and straight way Echo it. In Xcode I get it:
NSData *result = [NSURLConnection sendSynchronousRequest:request returningResponse:&response error:&error]; This is OK!
To show in UIImageView I am trying this:
cardImage.image = [UIImage imageWithData:result];
If I make Nslog(@"%@", result); there are lot of these:
<efbbbf89 504e470d 0a1a0a00 00000d49 48445200 0001f400 00014e08 02000000 ffe578ce 00000019 74455874 536f6674.................. It meands that there are data!
Question is how to show image from straght way PHP blob echo to UIImageViev.image ?