I'm using ImageCaptureCore to control a camera,and I have found the sample project
PTPPassThrouth.
And then I find in ICDevice.h there's a function
- (void)requestSendMessage:(unsigned int)messageCode outData:(NSData*)data maxReturnedDataSize:(unsigned int)maxReturnedDataSize sendMessageDelegate:(id)sendMessageDelegate didSendMessageSelector:(SEL)selector contextInfo:(void*)contextInfo;
It says This method is the functional equivalent of calling ICAObjectSendMessage() found in ImageCapture.framework, which has been deprecated in Mac OS X 10.6.
I think this is what I want. But I can't find any document or sample about how to use it.
Can anyone give me any help???