reconcilePreferredLanguagesWithCompletionHandler:
Reconciles the set of locally available asset packs with the current preferred languages.
Declaration
- (void) reconcilePreferredLanguagesWithCompletionHandler:(void (^)(NSError *error)) completionHandler;Parameters
- completionHandler:
A block that’s called when the the system has successfully reconciled the set of locally available asset packs with the user’s preferred languages or that receives an error if one occurs.
Mentioned in
Discussion
This method downloads any missing localized asset packs, waits for those downloads to finish, and removes any unneeded ones. If you’ve overridden the preferred languages by setting resolvedLanguage, then this method respects that selection. Don’t use this method if your application offers split-language functionality; instead, handle the reconciliation manually.