Swift
Introduction
In this tutorial, you will learn how to create an iOS application using Swift and the Vonage iOS Client SDK, and then write the code to make an app to app call.
Two parts are needed to achieve this:
- An iOS application that will make 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.
Completed project
If you would like to follow along without building the app yourself, the completed project is available on Github - please see the app-to-app-swift folder.
This tutorial uses VonageClientSDKVoice version 1.2 and Swift 5
Making an app to app voice call
You make a voice call from an iOS app to another iOS app
Steps
1
Introduction to this task2
Prerequisites3
Create a webhook server4
Create a Vonage Application5
Create the users6
Generate JWTs7
Xcode Project and Workspace8
Project permissions9
Building the log in interface10
Building the user model11
VGVoiceClient12
Building the call interface13
Receive a call14
Make a call15
What's next?