# iOS

#### Welcome to the Flagship iOS SDK documentation!

The following documentation helps you to run Flagship on your native iOS app using our client library with preconfigured methods to implement the Decision API.

* [Installation](/server-side/sdks/ios/ios-1/swift-installation.md)
* [Quick Start](/server-side/sdks/ios/ios-1/swift-quick-start.md)
* [Reference](/server-side/sdks/ios/ios-1/swift-reference.md)

## SDK features

This SDK version will help you:

* Set a [visitor ID](/server-side/glossary.md#visitor-id)
* Update [user context](/server-side/glossary.md#user-context)
* Assign campaigns via the [Decision API](/server-side/decision-api.md) or [Bucketing](/server-side/concepts/bucketing.md)
* Get flags
* Expose campaigns
* Send hits to our [Universal Collect](/client-side/data-apis/universal-collect.md)
* Troubleshoot issues

This SDK version will help you:

## Prerequisites

* Your app must be a native app written in Swift or Objective C.
* Swift Client application must use Swift 5 or higher

## Good to know

* [Github repository](https://github.com/flagship-io/flagship-ios)
* Swift and Objective-C code supported
* Compatible with SwiftUI

## Supported platforms

| Platform | Version |
| -------- | ------- |
| iOS      | 11.0    |
| tvOS     | 11.0    |
| macOS    | 10.13   |
| watchOS  | 5.0     |

## Versions

The latest stable version of our iOS SDK is [**4.0.0**](doc:swift-reference).

#### Change logs

Find the versions change logs on our [Github Repository](https://github.com/flagship-io/flagship-ios/releases)

#### Former versions

The documentation of the past versions is available [here](/server-side/sdks/ios/archived-versions.md).

## Contact us

Feel free to [contact us](mailto:product.feedback@abtasty.com?subject=Flagship%20Developer%20Documentation) if you have any questions regarding this documentation.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.abtasty.com/server-side/sdks/ios.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
