How do I get the cropping frame of the address book image data?

后端 未结 3 1155
既然无缘
既然无缘 2021-02-08 17:21

The AddressBook framework provides ABPersonCopyImageData for getting the contact image for each address book entry. This is great for the image data, but the user also sizes an

3条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-02-08 18:09

    I think it's impossible to get the crop rect. The crop rect information is stored inside the sqlite database that managed by addressbook framework. But client's application cannot read another application's sqlite database, according to the sandbox structure.

提交回复
热议问题