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