How to use ARKit tracking?

From Banuba SDK v0.35.0 ARKit tracking is disabled by default.

To enable the ARKit tracking in your app or in SDK Demo app, please switch the corresponding flags in EffectPlayerConfiguration.swift.

  1. Find useARKitWhenAvailable on lines 44 and 80
  2. Change useARKitWhenAvailable from false to true
useARKitWhenAvailable: Bool = true


3. Open your app configuration, Build Settings tab. Add “Custom Flags” to filter. Add flag BNB_ENABLE_ARKIT to “Active Compilation Conditions” filed in “Swift Compiler - Custom Flags” window.


Having issues with submitting your app to AppStore? Read more in our documentation.