# Install the iOS SDK

Add Identomic in Xcode and make your first fingerprint capture.

## Installation requirements

- Use Xcode 26 or a newer version with Swift 6.2 support.
- Get the Identomic Swift package from your integration contact.
- Connect a physical iPhone on iOS 26 or later and select your signing team in Xcode.

## Add the Swift package

In Xcode, open your iOS app and choose File → Add Package Dependencies. Use Add Local for the supplied checkout, or enter your assigned distribution URL. Add the Identomic product to your application target. Set that target to iOS 26 or later.

## Configure camera access

In the app target’s Info tab, add Privacy – Camera Usage Description. Explain your app’s actual use. For apps with an explicit Info.plist, add this inside the root dictionary.

```xml
<key>NSCameraUsageDescription</key>
<string>Capture fingerprints for identity verification.</string>
```

## What users see

The SDK returns four ordered finger results with the requested PNGs. A standards template is included only when a compatible provider supplies valid input.

Capture illustration and Identomic demo screenshot.

![Illustrated iPhone capture guide with four fingers in frame](/assets/modules/finger-capture.jpg)
Align four fingers

![Identomic demo showing separate fingerprint images for the captured fingers](/assets/fingerprint-results-iphone.jpg)
Review the ridge images

## Capture four fingers

Embed this view in your app. The sheet closes when the user accepts the capture or presses Cancel. This smoke test reports only the result count.

```swift
import Identomic
import SwiftUI

@MainActor
struct FingerprintQuickstart: View {
    @State private var showingCapture = false
    @State private var message = "Ready to capture"

    var body: some View {
        VStack {
            Button("Capture fingerprints") { showingCapture = true }
            Text(message)
        }
        .sheet(isPresented: $showingCapture) {
            NavigationStack {
                Identomic.fingerprints(formats: [.grayscalePNG]) { result in
                    showingCapture = false
                    switch result {
                    case .success(let capture):
                        message = "Received \(capture.fingers.count) fingerprints"
                    case .failure:
                        message = "Capture could not finish. Try again."
                    }
                }
                .toolbar {
                    ToolbarItem(placement: .cancellationAction) {
                        Button("Cancel") { showingCapture = false }
                    }
                }
            }
        }
    }
}
```

## Verify the result

After accepting the capture, expect four results for the left index, middle, ring, and little fingers. Each finger should have one grayscale PNG. The quickstart status should read “Received 4 fingerprints”. SwiftUI previews and the simulator are suitable for testing surrounding UI. Use a physical device for the capture itself.
