iOS · Swift SDK

Preview

Swift Package for iOS apps that need remote flags, controls, and screen protection.

Source preview · registry release pending

This SDK's source lives in this repository. A public registry install may not resolve yet. Use REST today, or use a local path / project reference from a checked-out source tree (requires repository access) — see SDK & package availability.

Source preview · registry release pending
Source lives at sdk/ctrlapp_ios/. There is no public Git URL yet — until the public tag ships, add it as a local Swift Package from a checked-out copy of this repository, or call REST directly.

Local Swift Package (requires a checkout of this repo)

swift· Package.swift
.package(path: "../path/to/ctrlapp/sdk/ctrlapp_ios")

Initialize on launch

swift· AppDelegate.swift
import CtrlApp

let ctrl = try await CtrlApp.init(
    apiKey: "<PUBLISHABLE_KEY>",
    deviceId: "<DEVICE_ID>",
    baseUrl: URL(string: "https://ctrlapp.krdcode.com")!
)

iOS supports a real screen-capture mask via a system window — see Privacy & screen protection.

Back to top