Just found the solution (by disassemling the monotouch.dll and look carefully
at the internal code)

   
/[DllImport("/System/Library/Frameworks/AddressBook.framework/AddressBook")]
    private static extern IntPtr ABPersonCopyImageDataWithFormat(IntPtr
handle, ABPersonImageFormat format);

    ABPersonImageFormat format = ABPersonImageFormat.Thumbnail;
    NSData data = new NSData(ABPersonCopyImageDataWithFormat(person.Handle,
format));
    UIImage imgThumb = UIImage.LoadFromData(data);/

Good luck with it !!!

--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/Monotouch-binding-for-ABPersonCopyImageDataWithFormat-tp3645593p3645877.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to