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.
Commentaires
Vous devez vous connecter pour laisser un commentaire.