来电不显示姓名

Incoming call not showing name

我已经实现了 QuickBlox audio/video 调用。 我有一个问题,当收到来电时,它显示的是号码而不是用户名。 请找到所附图片。 如何将其替换为来电者用户名。

这不是 Quickblox 功能,请查看 Apple CallKit Documentation识别来电者 部分。

For example, consider a user who is friends with Jane in a social networking app, but who doesn’t have her phone number in their contacts. The social networking app has a Call Directory app extension, which downloads and adds the phone numbers of all of the user’s friends. Because of this, when the user gets an incoming call from Jane, the system displays something like “(App Name) Caller ID: Jane Appleseed” rather than “Unknown Caller”. To provide identifying information about incoming callers, you use the addIdentificationEntry(withNextSequentialPhoneNumber:label:) method in the implementation of beginRequest(with:).