Skip to Main Content
Documentation
Startups
Blog
Code Hub
API Dashboard
Vonage.com
Pricing
Support
English
日本語
Deutsch
Español
Français
My profile
My dashboard
Log out
API Dashboard
Vonage.com
Pricing
Support
Legal & Privacy
en
Documentation
SDKs & Tools
Community
Startups
Blog
Code Hub
View All docs
vonage-client-sdk
Create your Application
Add Client SDK to your application
Android
iOS
JavaScript
Configure your Data Center
Configure Logging Level
Set Up Push Notifications
Android
iOS
In-App Voice
Overview
Guides
Make a Call
Receive a Call
Reconnect a Call
Mute a Call
Earmuff a Call
Send and Receive DTMF
Text to Speech
Background Noise Suppression
Changing Call Audio Output
Changing Call Audio Input
In-App Messaging
Overview
Guides
Managing Conversations
Managing Members
Message Events
Custom Events
Ephemeral Events
Pagination
Messages API Integration
Tutorials
Creating a chat app
Configure your Backend Server
Managing Sessions
Troubleshooting
Transition Guide
SDK Documentation
Android SDK Reference
iOS SDK Reference
JavaScript SDK Reference
Swift

Building the log in interface

To be able to log in, you will need to add three elements to the screen:

  • A Button to log in Alice
  • A Button to log in Bob

Open ContentView.swift and add it programmatically:

Build and Run

Run the project again (Cmd + R) to launch it in the simulator.

Interface

Creating an iOS chat app

Create a iOS application that enables users to message each other

Available on:
JavaScript Kotlin Swift
Steps
1
Introduction to this task
2
Prerequisites
3
Create a Vonage Application
4
Create a conversation
5
Create the users
6
Generate JWTs
7
Xcode Project and Workspace
8
Building the log in interface
9
VGChatClient
10
Building the chat interface
11
Chat events
12
Sending a message
13
What's next?
Vonage LogoAPI StatusAll Systems Operational
DocumentationDocumentationVonage Business CloudVonage Contact Center
Technical ReferencesDocumentationSDK & Tools
CommunityCommunity HubTeamCareersNewsletter
SupportKnowledgebaseChangelogs