We provide Swift SDK distributed by CocoaPods for your iOS apps to present AR-sessions, easily.
To integrate Meshkraft into your Xcode project using CocoaPods, add it to your
Then, run the following command:
Meshkraftframework header in your
Add the following to your
Make sure to replace
YOUR_API_KEYwith your application token.
Meshkraft framework header
Start an AR session with product SKU:
To receive model loading status notifications , conform to
Get AR model URL with product SKU:
modelURL from the completion block, check the
errorMessage for any possible errors.
You can check if AR is supported on the device: