This public repository provides basic CallKit project in SwiftUI
CallKit-SwiftUI project is a SwiftUI project provding examples of CallKit based on Apple WWDC16 CallKit.
CallKit is an Apple framework that lets your VoIP app integrate tightly with the native Phone UI. Because CallKit provides only system UI, it doesn't connect caller to receiver.
To connect both users, you need to figure out their IP addresses. However, because of firewall, you can't figure out the addresses directly, but you can via WebRTC framework which is developed by Google. To download and implement your VoIP service, please refer to my pages: WebRTC
Using WebRTC may take a long time to implement your VoIP service. You also need its server. To save your time, use VoIP framework that you don't need to implement WebRTC actons and server. There are a lot of VoIP frameworks such as SendBirdCalls, Twilio, TokBox and Voxeet.
There are some samples using SendBirdCalls with CallKit.
-
SendBird Official Sample - © SendBird, Inc.
-
SendBirdCalls + SwiftUI (WIP) - © Jaesung Lee