checkForUpdatesWithCompletionHandler:
Gets the latest asset-pack information from the server, updates outdated asset packs, and removes obsolete asset packs.
Declaration
- (void) checkForUpdatesWithCompletionHandler:(void (^)(NSSet<NSString *> *updatingIdentifiers, NSSet<NSString *> *removedIdentifiers, NSError *error)) completionHandler;Parameters
- completionHandler:
A block that receives a set of identifiers of asset packs that are being updated and a set of identifiers of removed asset packs or an error if one occurs.
See Also
Managing asset packs
ensureLocalAvailabilityOfAssetPack:completionHandler:ensureLocalAvailabilityOfAssetPacks:completionHandler:ensureLocalAvailabilityOfAssetPack:requireLatestVersion:completionHandler:ensureLocalAvailabilityOfAssetPacks:requireLatestVersions:completionHandler:assetPackIsAvailableLocallyWithIdentifier:getStatusRelativeToAssetPack:completionHandler:getLocalStatusOfAssetPackWithIdentifier:completionHandler:removeAssetPackWithIdentifier:completionHandler:getStatusOfAssetPackWithIdentifier:completionHandler: