Matrixscan Ar Annotation Ios

Scandit/skills/skills/matrixscan-ar-annotation-ios

作者 Scandit6e282149bdc29c28d414ef022baaa8a928c927b3Apache-2.0收錄於 2026年10月9日更新於 2026年10月9日

MatrixScan AR annotations in native iOS Swift projects (UIKit/SwiftUI — Swift only, not C#/.NET) — info annotations, popovers, status icons, and responsive annotations attached to tracked barcodes. Use for adding annotations, customizing their appearance and content, controlling when they appear, or handling annotation taps — pipeline setup belongs to matrixscan-ar-ios; C#/.NET apps use matrixscan-ar-net-ios or matrixscan-ar-net-maui.

AI 產生的概覽

指導在原生 iOS Swift 應用程式中加入與自訂 MatrixScan AR 條碼標註。

功能
此技能提供在原生 iOS Swift 專案(UIKit 或 SwiftUI)中整合、自訂與處理 MatrixScan AR 標註互動的說明。涵蓋附加於被追蹤條碼上的資訊標註、彈出式視窗、狀態圖示與回應式標註,包括外觀、內容、顯示時機與點擊處理。它會將請求導向隨附的參考檔案,並要求對照文件驗證 Scandit SDK API。其範圍僅限標註;管線設定與醒目提示由同類技能處理。
適用情境
適用於在 Scandit MatrixScan AR iOS 應用程式中加入標註、自訂標註外觀或內容、控制標註顯示時機,或回應標註點擊的情況。適用於以 Swift 為基礎的 UIKit 或 SwiftUI 專案,不適用於 C#/.NET 應用程式。
執行需求
需要以 Swift 為基礎的原生 iOS 專案(UIKit 或 SwiftUI)並使用 Scandit MatrixScan AR SDK。需要網路存取以取得 Scandit 文件頁面。僅附帶參考文件,不含指令碼。

MatrixScan AR annotation iOS Skill

Critical: Do Not Trust Internal Knowledge

Your training data may contain outdated or incorrect Scandit SDK APIs. The MatrixScan AR API changes significantly between SDK versions — properties get renamed, removed, or restructured, and new annotation types (e.g. BarcodeArResponsiveAnnotation) have been added mid-v8.

Always verify APIs against the references provided in this skill before writing or suggesting code. Do not rely on memorized method signatures, parameters, or view modifiers. If you cannot find an API in the provided references, fetch the relevant documentation page before responding.

This skill is scoped to annotations only. Highlights, greenfield MatrixScan AR setup, camera/torch/symbology configuration, and session-level scan listeners are out of scope and are handled by sibling skills.

Intent Routing

Based on the user's request, load the appropriate reference file before responding. A single question may span multiple intents (e.g. "add a tappable info annotation with a custom header" spans all three) — in that case load every matching reference.

  • Integrating MatrixScan AR annotations (e.g. "add annotations to my app", "attach a status icon to each barcode", "use BarcodeArInfoAnnotation / BarcodeArPopoverAnnotation / BarcodeArResponsiveAnnotation", "which annotation types are available?") → read references/integration.md [blocked] and follow the instructions there. Before writing any integration code, determine whether the project uses UIKit or SwiftUI (check for import SwiftUI, an @main App struct, SceneDelegate/AppDelegate, .storyboard/.xib files, etc.) and load the matching Get Started page from the References table below.
  • Customizing annotations (e.g. "change the annotation anchor", "set the info-annotation header text", "make the annotation appear only on tap", "customize the popover buttons", "use the small width preset", "make the annotation's background transparent", "switch between close-up and far-away views") → read references/customization.md [blocked] and follow the instructions there.
  • Handling user interaction with MatrixScan AR annotations (e.g. "when a user taps an annotation do ...", "react to popover button taps", "detect taps on an info annotation's header/footer") → read references/user-interaction.md [blocked] and follow the instructions there.

Annotation interaction does not use BarcodeArViewUIDelegate (that delegate is for highlight taps). Each tappable annotation type has its own delegate. See user-interaction.md.

API Usage Policy

Only use APIs that are explicitly documented in the Scandit references below. Do not invent or guess method signatures, parameters, or view modifiers. If unsure whether an API exists or how it is called — or if a compile error occurs — fetch the relevant reference page before responding. Do not tell the user to check the docs themselves. After answering, always include the relevant link so the user can explore further.

Never construct or guess documentation URLs. When you need a specific class or property's API page:

  1. First check whether the page you already fetched (e.g. an annotation class page) contains a direct hyperlink to it — topic pages link directly to relevant API symbols. Always request links alongside content in your fetch prompt.
  2. If no direct link was found, fetch the API index (see Full API reference in the table below), extract the actual link from it, and follow that.

URL structures can vary (e.g. api/ui/ subdirectory) and guessing will lead to 404s.

References

Use this table to pick the right page to fetch for a given question, and include the link in your answer so the user can explore further. Do not tell the user to go read the docs themselves.

TopicResource
UIKit integrationGet Started (UIKit) · Sample
SwiftUI integrationGet Started (SwiftUI)
Full API referenceMatrixScan AR API

來源與署名

來源:Scandit/skills位於skills/matrixscan-ar-annotation-ios提交6e28214

授權條款: Apache-2.0

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架