LogoLogo
WherebyStatusCommunity
  • 📹Whereby 101
    • Create Your Video Experience
      • Get started in 3 steps
      • Embedding Whereby in a web app
        • Using Whereby's Web Component & Pre-built UI
          • Script Tags
          • With Low Code
            • Embedding in Squarespace or Wordpress
            • No code video conferencing in Bubble
        • Using Whereby's Browser SDK with React Hooks for a fully custom UI
      • Embedding Whereby in a mobile app
        • Embedding Whereby in iOS
          • Using Whereby's Native iOS SDK
        • Embedding Whereby in Android
          • Using Whereby's Native SDK
        • Using Flutter
        • Using React Native
      • Github SDK Examples
      • Meeting scheduling with Cronofy
    • Generating Room URLs
      • Name prefixes
      • Using “Create a room”
      • Using Postman
    • Customize Your Video Experience
      • During room creation
      • Using Attributes/URL Params
      • Global preferences
      • Branding elements
      • Dial-In
      • File sharing
      • Breakout Groups with Embedded
      • Waiting Rooms
    • User roles & Meeting Permissions
    • FAQ
      • Accessibility
      • Whereby Words
      • Firewall & Security
      • HIPAA compliant setup
      • Allowed Domains & Localhost
      • Whereby Embedded Feature Comparison
  • 🔍Meeting Content & Quality
    • Recording
      • Cloud Recording
      • Local Recording
    • Transcribing
      • Session Transcription
      • Recording Transcription
    • Live Captions
    • Session summaries
    • Live streaming RTMP
    • Quality Insights
      • Real-time troubleshooting
      • Using the Insights dashboard
      • Improving call quality
      • Tracking room events with Webhooks
  • 🤷End User
    • End User Support Guides
      • Supported Browsers & Devices
      • Screen Sharing Setup & Usage
      • Using Breakout Groups
      • Troubleshooting & Basics
  • 🚚Developer Guides
    • Quickly deploy Whereby to your domain
    • Tracking Customer Usage
    • Migrating from Twilio
      • Twilio JS SDK Quick Migration
      • Twilio JS SDK Direct Migration
  • 🖥️Reference
    • REST API Reference
      • /meetings
      • /insights
      • /recordings
      • /transcriptions
      • /summaries
      • /rooms
    • Web Component Reference
    • React Hooks Reference
      • Quick Start
        • Getting started with the Browser SDK
      • Guides & Tutorials
        • Migrate from version 2.x to 3
        • Grid logic
        • Custom Video Tiles with React
        • Usage with Next.js
        • How to customize the toolbar
      • API Reference
        • WherebyProvider
        • VideoView
        • VideoGrid
        • useLocalMedia
        • useRoomConnection
      • Types
    • React Native Reference
      • Quick Start
      • WherebyEmbed
    • Webhooks Reference
Powered by GitBook
On this page
  • Basic Project Setup
  • Installation
  • Using Swift Package Manager
  • Using CocoaPods
  • Manual Installation
  • Customization

Was this helpful?

Edit on GitHub
  1. Whereby 101
  2. Create Your Video Experience
  3. Embedding Whereby in a mobile app
  4. Embedding Whereby in iOS

Using Whereby's Native iOS SDK

Last updated 10 months ago

Was this helpful?

The native iOS SDK is currently in beta and actively being developed. For any comments, suggestions or questions, please , or reach out to our solutions team at embedded@whereby.com.

The Whereby iOS SDK enables you to integrate Whereby into your iOS app as a native component, rather than a web-based experience. This offers much more control and customization over the meeting experience, and allows you to hook into powerful features such as listening to room events and sending commands to the room from the host application.

Basic Project Setup


Installation

Using Swift Package Manager

  1. Open your project in Xcode and select File > Add Packages...

  2. In the Search or Enter Package URL text field, enter the repository URL:

    https://github.com/whereby/ios-sdk.git
  3. Click Add Package.

  4. In the Choose Package Product window, keep the WherebySDK product selected and click Add Package.

Using CocoaPods

  1. Add the following line to your project's Podfile:

    pod 'WherebySDK'

    Your Podfile should look like this:

    platform :ios, '14.0'
    
    target 'TargetName' do
    use_frameworks!
    pod 'WherebySDK'
    end
  2. In the Terminal, navigate to the directory containing your Podfile and run:

    pod install

Manual Installation

We recommend using either Swift Package Manager or CocoaPods to install Whereby SDK. Alternatively, it's also possible to add the SDK to your project manually:

  1. Clone this repository:

    git clone https://github.com/whereby/ios-sdk.git
  2. Copy WherebySDK.xcframework, WebRTC.xcframework, mediasoup_client_ios.xcframework from the repository to your project directory next to your .xcodeproj file

  3. In Xcode select your project file and then your app's target. In the target settings select the General tab. Drag the newly copied WherebySDK.xcframework, WebRTC.xcframework, mediasoup_client_ios.xcframework frameworks into the Frameworks, Libraries, and Embedded Content section of your target.

Customization

Note that URL Parameters are not supported with the Native iOS SDK

You can customize the meeting experience by modifying the embeddedRoomViewController, for example:

// Set room background color embeddedRoomViewController?.view.backgroundColor = .clear embeddedRoomViewController?.setRoomBackgroundColor(.clear)// Some code

Below you'll find some basic guidance on getting started, but for detailed instructions check out the , or play around with our .

For more details see .

To see a complete list of the supported customization options check out our repo. If there's customization functionality that you'd like to see in the future please submit an issue for review!

📹
SDK documentation on GitHub
iOS demo app
Adding Package Dependencies to Your App
Demo App
submit an Issue to the GitHub repo