# How to open FaceTime from a SwiftUI app

> Add a FaceTime call button in SwiftUI using Apple’s URL scheme. See what the device controls, how audio links differ, and when a backend needs its own calling API.

Developer guide · Published December 4, 2026 · By Chert Team

A support screen has a familiar job: the customer taps “Call support,” FaceTime opens, and the customer decides whether to call. For a SwiftUI app, that button can be a `Link` with a FaceTime URL. You don’t need to provision a backend line to hand an address to someone’s device.

## A FaceTime button in SwiftUI

Replace the example address with a support address registered for FaceTime. Keeping the destination fixed makes it easy to check what the button will open. The optional binding handles a malformed URL without crashing the view.

```
import SwiftUI

struct SupportCallButton: View {
    var body: some View {
        if let address = URL(string: "facetime:support@example.com") {
            Link("FaceTime support", destination: address)
        }
    }
}
```

SwiftUI’s [Link](https://developer.apple.com/documentation/swiftui/link) passes the URL to the system. Apple’s [archived FaceTime URL reference](https://developer.apple.com/library/archive/featuredarticles/iPhoneURLScheme_Reference/FacetimeLinks/FacetimeLinks.html) documents `facetime:` for a video call and `facetime-audio:` for an audio call on iOS. For an audio-only support button, change the scheme and the label so the user knows what will happen. Try both on a physical device with FaceTime configured.

## Can Swift tell whether a contact uses FaceTime?

`UIApplication.shared.canOpenURL(_:)` checks the device running your app for a handler for the URL scheme. A `true` result for `facetime:support@example.com` tells you that the device can open FaceTime. The result says nothing about whether that email address is registered, online, or able to answer. If your app calls `canOpenURL`, declare the schemes it queries in `LSApplicationQueriesSchemes` in its Info.plist. An undeclared scheme can produce a `false` result. [Apple’s canOpenURL reference](https://developer.apple.com/documentation/uikit/uiapplication/canopenurl(_:)).

For a contact screen, label the action “Call with FaceTime” and let the person choose an address. Only show an availability badge if you have a separate, reliable source for that status.

## What should the app record?

If you instrument the button, record the tap as a request to open FaceTime. Someone can still cancel, the recipient may be unavailable, or the call may go unanswered. The link does not return a call ID or an answered event to your app. For a support ticket, leave the case open until the customer or support team confirms the outcome.

## When the server needs to make the call

Now change one detail: the customer books a callback for tomorrow. At the booked time, the app might be closed. Your backend needs to place a call, connect an agent, and know when to clean up. That requires a calling service with lifecycle events. With Chert, your backend selects a provisioned line and provides a LiveKit room. The returned call ID lets your service follow that attempt through pickup or failure. [See a backend FaceTime request and response.](https://chert.dev/blog/outbound-facetime-api-call)

## Related guides

- [Apple’s FaceTime developer interfaces](https://chert.dev/blog/facetime-api-apple-developer-options)
- [FaceTime API for backend calls](https://chert.dev/facetime)

Updated December 4, 2026.

## For agents

- This page as HTML: https://chert.dev/blog/open-facetime-from-swiftui
- Pricing: https://chert.dev/pricing
- Setup runbook: https://chert.dev/setup.md
- Documentation: https://docs.trychert.com/llms.txt
- MCP: `claude mcp add --transport http chert https://app.chert.dev/api/mcp`
- Every page on chert.dev has a Markdown version at the same address plus .md.
- Ask your user before you send a real iMessage or place a FaceTime call.
