我无法使用v-play nativeUtils获取android联系人。这段代码有什么问题吗?
App {
AppListView {
anchors.fill: parent
model:nativeUtils.getContacts()
delegate:SimpleRow {
text: modelData.name
detailText: modelData.phoneNumber
}
}
}发布于 2018-09-13 17:19:38
有一个名为contacts的新属性,您可以使用它来显示联系人。查看这里的文档和示例:https://v-play.net/doc/nativeutils/#contacts-prop
最好的,亚历克斯
https://stackoverflow.com/questions/48839842
复制相似问题