Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
大家好,我一直在努力使用以下代码在我的手机中显示联系人,但是 onSuccess(contacts) 没有被触发 alert(contacts.length) 在 alert("k") 有效时不起作用。谁能帮我提前谢谢你
您是否设置了与联系人一起工作的所有权限?
也许您还应该创建 onError 函数,以查看是否调用了事件并获取错误