Preload/Destroy Resources

S’abonner

To reduce loading and appearing time of BearViewCotroller you could preload the BearSDK resources. At the same time you may need to release the memory used by BearSDK you have to use destroy method.

  • preload(_ bearDidLoad: (() - Void)?) - Preloads the BearSDK resources, bearDidLoad closure will be executed when all resources will be loaded.
  • isLoaded - The status of the BearSDK resources.
  • destroy - Destroys all loaded BearSDK resources.

Note: once loaded Bear SDK resources will be kept until destroy is called.

Cet article vous a-t-il été utile ?
Utilisateurs qui ont trouvé cela utile : 0 sur 0

Commentaires

0 commentaire

Vous devez vous connecter pour laisser un commentaire.