Hi,
I have problem with IKImageView in mode IKToolModeCrop.
In documentation there is written:
"The selection and crop tools copy the selected areas to the
pasteboard"
So I implemented accessing pasteboard, but after crop operation, or
selection, pasteboard is still empty.
Maybe I'm accesing wrong pasteboard? Here is my code for pasteboard:
NSPasteboard *pb = [NSPasteboard generalPasteboard];
NSArray *pasteTypes = [NSArray arrayWithObjects:
NSTIFFPboardType, NSPICTPboardType, nil];
NSString *bestType = [pb availableTypeFromArray:pasteTypes];
if (bestType != nil)
{
NSData *data = [pb dataForType:bestType];
}
In documentation there is nothing more about that, and google gives
nothing.
I really don't know what to do and I'll be very appreciated for any
advice.
Kindly regards.
_______________________________________________
Cocoa-dev mailing list ([email protected])
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]