From: Panayotis K. <pan...@pa...> - 2011-12-07 13:06:51
|
On 07 Δεκ 2011, at 2:44 μ.μ., Panayotis Katsaloulis wrote: > I think there is a mistake in the location of function UIImageWriteToSavedPhotosAlbum > Now this function is an instance method of the UIImagePickerController class. > > From the signature of the function this should be an instance method of UIImage, and namely > public void writeToSavedPhotosAlbum(UIImageWriteToPhotoAlbumHandler target, Object context) > > probably it should be moved there? ... moreover, has anybody checked the selector? In ObjC code I can see something like sel = NSSelectorFromString(@"imageDidFinishWritingWithError___org_xmlvm_iphone_UIImage_org_xmlvm_iphone_NSError_java_lang_Object:::"); It is interesting because in the iOS documentation it says: This optional method should conform to the following signature: - (void) image: (UIImage *) image didFinishSavingWithError: (NSError *) error contextInfo: (void *) contextInfo; which of course doesn't conform... |