【发布时间】:2011-07-05 10:27:02
【问题描述】:
在 Monotouch 中,您可以从 ABPerson 实例获取图像的唯一方法是使用 Image 属性,该属性返回原始大小的图像。
Objective-C 中有一个函数叫 ABPersonCopyImageDataWithFormat (http://developer.apple.com/library/ios/#documentation/AddressBook/Reference/ABPersonRef_iPhoneOS/Reference/reference.html#//apple_ref/c/func/ABPersonCopyImageDataWithFormat),它可以返回联系人的缩略图, 但 Monotouch 不为此提供绑定。
有没有人知道如何在 Monotouch 中调用这个函数或如何创建它的绑定?
谢谢, 丹尼
【问题讨论】:
标签: iphone objective-c binding xamarin.ios