The Anchorium Link SDK makes it easy to integrate persistent AR anchors into your iOS apps.
With Anchorium Link, you can store, share, and resolve anchors across sessions and devices β powered by our cloud-based platform.
- Persistent AR anchors across sessions
- Share anchors between users and devices
- Swift Package Manager (SPM) integration
- Pay-as-you-go credit system
-
In Xcode, go to
File β Add Packagesβ¦ -
Enter the repository URL:
https://github.com/anchoriumlink/AnchoriumLink-SPM.git
-
Choose the latest release version (e.g.
1.0.0
). -
Add AnchoriumLink to your app target.
- iOS 13.0+
- Xcode 15+
- Swift 5.9+
- Valid Anchorium Link API Key
- Visit anchoriumlink.com
- Sign up in the Developer Portal
- Purchase credits
- Get your API Key from the dashboard
Initialize the SDK in your app startup (e.g. AppDelegate
):
import AnchoriumLink
@main
class AppDelegate: UIResponder, UIApplicationDelegate {
func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
AnchoriumLink.initialize(apiKey: "YOUR_API_KEY")
return true
}
}
let anchor = try AnchoriumLink.hostAnchor(at: transform)
print("Anchor hosted with ID:", anchor.id)
let anchor = try AnchoriumLink.resolveAnchor(withId: "ANCHOR_ID")
print("Anchor resolved at:", anchor.transform)
- Each anchor operation consumes credits
- Credits are purchased at anchoriumlink.com
- The SDK requires valid credits to function
This SDK is proprietary software owned by Anchorium Link.
By using it, you agree to the terms in the LICENSE file.
For technical support:
π§ support@anchoriumlink.com
π anchoriumlink.com