CXCallUpdate is the CallKit object used to describe and configure the information shown for a call in the native iOS call UI.
It contains metadata such as:
CXCallUpdate does not create or manage calls.
Instead, it:
describes how a call should appear to the system.
It is primarily used when reporting an incoming call.
let update = CXCallUpdate()
update.remoteHandle = CXHandle(
type: .phoneNumber,
value: "03001234567"
)
update.localizedCallerName = "Zeeshan"
update.hasVideo = false
provider.reportNewIncomingCall(
with: uuid,
update: update
)
This tells iOS: