VisioMove Essential (iOS)  1.27.8

◆ deleteCachedMapWithIdentifier:error:

- (BOOL) deleteCachedMapWithIdentifier: (NSString *_Nullable)  identifier
error: (NSError *_Nullable *_Nullable)  error 

Deletes a map from the application that has been cached by the SDK.

Parameters
identifierThe map hash associated with the cached map that is to be deleted.
errorAny information about an error condition that may have occured.
Returns
Returns YES if the map was successfully deleted, otherwise NO.
Version
1.21
Example
NSError* lError;
if(![self.mapView deleteCachedMapWithIdentifier:@"mc8f3fec89d2b7283d15cfcf4eb28a0517428f054" error:&lError]) {
NSLog(@"Error: %@", lError.description);
}
© 2022 Copyright Visioglobe, All Rights Reserved. View our Privacy Policy