After adding tags to models, you can query tags in the iOS SDK.
2. Fetch list of FritzManagedModel from the API:
Results will contain models that match all tags. Thus, tag queries for the above
tagManagerwill match models that contain both
The result of the tag query (when successful) is a FritzManagedModel list. These are not instantiated models. They contain the configuration of models stored in Fritz. You can download them as needed.
3. Download models from API:
FritzManagedModellist from the previous query, you can download the models and instantiate the
Once the model is downloaded the first time, calling
managedModel.fetchModelagain will load that model from disk.
Depending on the size of your model, you may want to force downloads to happen over WiFi. To do so, set
true. By default, all models will download over both WiFi and cellular connections:
All tag requests are cached and stored locally. If you wish to query locally cached models, you can call