Incoming call display question on iOS

When a call is received on ios, I want to display it as a nickname rather than a userid. What should I do?

Hi,
I don’t know which sample code you referenced, but you can change it to a nickname instead of an ID.
For example, currentUser.userId will get the user ID, but currentUser.nickname will get the user nickname (name).