Release Resources

Follow

You may need to release the memory used by BearSDK, so you have to use releaseResources method. Resources will be acquired again when the new ARViewController or its subclass is initialized.

  • isLoaded - The status of the BearSDK resources;
  • releaseResources - Releases all BearSDK support resources. Ex.: default textures, initialized trackers and etc.

Note: once loaded Bear SDK resources will be kept until releaseResources is called. You should only release resources when user finishes enjoying augmented reality and switches to other app features.

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.