if([pasteboard hasImages]){
NSLog(@"hasImages");
NSData *data = [pasteboard dataForPasteboardType:kCIAttributeTypeImage];
[_imgView setImage:[UIImage imageWithData:data]];
}
The image isn't shown.
What's wrong?
if([pasteboard hasImages]){
NSLog(@"hasImages");
NSData *data = [pasteboard dataForPasteboardType:kCIAttributeTypeImage];
[_imgView setImage:[UIImage imageWithData:data]];
}
The image isn't shown.
What's wrong?