From fe8a1c1c6752e87a4cf4b4503ccbdb7ae3ed04e9 Mon Sep 17 00:00:00 2001 From: NicoleYarroch Date: Mon, 14 May 2018 16:17:25 -0400 Subject: Added comment about why the blank artwork is set to `nil` Signed-off-by: NicoleYarroch --- SmartDeviceLink/SDLTextAndGraphicManager.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SmartDeviceLink/SDLTextAndGraphicManager.h b/SmartDeviceLink/SDLTextAndGraphicManager.h index fa5eeff9d..a3a9c23be 100644 --- a/SmartDeviceLink/SDLTextAndGraphicManager.h +++ b/SmartDeviceLink/SDLTextAndGraphicManager.h @@ -46,7 +46,9 @@ typedef void(^SDLTextAndGraphicUpdateCompletionHandler)(NSError *__nullable erro @property (copy, nonatomic, nullable) SDLMetadataType textField4Type; /** - If you want to make a graphic blank, set it to this artwork + * If you want to remove the current artwork, set it to this blank artwork. + * + * This artwork is set to null on disconnects to prevent a `sdl_fileManager_fileDoesNotExistError` error when the artwork is sent again on reconnects. */ @property (strong, nonatomic, readonly, nullable) SDLArtwork *blankArtwork; -- cgit v1.2.1