> For the complete documentation index, see [llms.txt](https://multiset.gitbook.io/multiset/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://multiset.gitbook.io/multiset/native-support/ios-swift-native/sample-views.md).

# Sample Views

This section provides detailed documentation for the sample views included in the MultiSet iOS SDK. These SwiftUI views demonstrate how to implement VPS localization and object tracking in your iOS application.

## Available Views

### [LandingView](/multiset/native-support/ios-swift-native/sample-views/landingview.md)

The entry point for the SDK demo application. Handles SDK initialization, authentication, mode selection, and navigation to either the AR localization view or the object tracking view.

### [ARLocalizationView](/multiset/native-support/ios-swift-native/sample-views/arlocalizationview.md)

Provides AR-based localization using either single-frame or multi-frame capture. Supports automatic localization, background localization, relocalization, GPS hints, and mesh visualization.

### [ARObjectTrackingView](/multiset/native-support/ios-swift-native/sample-views/arobjecttrackingview.md)

Provides AR-based object tracking. Detects and locates specific tracked objects (by object code) using the AR camera and places animated outline meshes over them in the real world.

## Localization Mode Comparison

| Feature                 | Single-Frame Mode  | Multi-Frame Mode    |
| ----------------------- | ------------------ | ------------------- |
| Frames captured         | 1                  | 4–6 (configurable)  |
| Capture time            | Instant            | \~2–3 seconds       |
| Accuracy                | Good               | Better              |
| Network usage           | Lower              | Higher              |
| Movement during capture | Not required       | Recommended         |
| Best for                | Quick localization | Precise positioning |

## Getting Started

1. Configure credentials and codes in `SDKConfig.swift`
2. Initialize the SDK in `LandingView` (tap **Authenticate**)
3. For localization: select a mode (Single-Frame or Multi-Frame) and tap **Start Localization**
4. For object tracking: tap **Start Object Tracking**
5. The respective AR view opens and begins automatically

See [MultiSetConfig](/multiset/native-support/ios-swift-native/api-reference/multisetconfig.md) for all configuration options.

## Related

* [API Reference](/multiset/native-support/ios-swift-native/api-reference.md)
* [iOS SDK Overview](/multiset/native-support/ios-swift-native.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://multiset.gitbook.io/multiset/native-support/ios-swift-native/sample-views.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
