In this tutorial, you will learn how to create an iOS application using Swift and the Nexmo iOS Client SDK, and then write the code to receive a phone call to your iOS app from a phone.
Two parts are needed to achieve this:
- An iOS application that will receive the voice call using the Client SDK.
- A publicly accessible URL that serves instructions on how to handle the call. To accomplish this, you will create a webhook server using Node.js, Express and localtunnel.
This tutorial uses NexmoClient version 3.1.0 and Swift 5
Receiving a phone call in-appYou receive a call from a phone to your app