Free Accounts & Free Advice

Twilio Client for iOS Quickstart Tutorial

In this tutorial, we'll use the Twilio Client iOS and TwiML APIs to demonstrate how to make
an outgoing call, receive an incoming call, and make calls between two
Twilio Client instances.

This guide assumes you have familiarity with iOS and Objective-C
concepts like View-Controllers, delegates, properties, and Objective-C
object life cycle and memory management.

Prerequisites

Install Xcode 6 with at least iOS SDK 8 or higher. Xcode may be
obtained from the Mac App Store.

Get set up as a registered iOS developer with valid Provisioning
Profile(s) for any devices you will be testing with. For more
information on provisioning devices, please refer to Apple's
documentation
Maintaining Identifiers, Devices, and Profiles.

Get a Twilio Account SID and Auth Token to initiate calls from your
iOS device. You will find these in your
Account Dashboard. If you
don't have an account, you can always sign up for a free
trial account.

In the example below, we'll setup a web server on the public Internet to
host the server-side code for generating capability tokens and TwiML.
The Quickstart below provides a sample python app deployed to Heroku
for this purpose, but you can use whatever method for deploying a web
server you like.

Download the iOS SDK

The easiest way to incorporate TwilioSDK to your project is using CocoaPods. Simply add the following line to your Podfile: