summaryrefslogtreecommitdiff
path: root/Example Apps
diff options
context:
space:
mode:
authorFrank Elias <francois.elias@livio.io>2021-05-11 14:09:27 -0400
committerFrank Elias <francois.elias@livio.io>2021-05-11 14:09:27 -0400
commit6a9ed73305cdd1f0482f42b5f8ac247f63453685 (patch)
tree5982f3b3297f56c27ab67b87f323b710d0ce122e /Example Apps
parent540896df121a87ba91f7bd5833c0a9d81e5f3352 (diff)
downloadsdl_ios-6a9ed73305cdd1f0482f42b5f8ac247f63453685.tar.gz
Swift example app update
Diffstat (limited to 'Example Apps')
-rw-r--r--Example Apps/Example Swift/ProxyManager.swift4
1 files changed, 2 insertions, 2 deletions
diff --git a/Example Apps/Example Swift/ProxyManager.swift b/Example Apps/Example Swift/ProxyManager.swift
index 9cbee5d6b..feb8f5fc9 100644
--- a/Example Apps/Example Swift/ProxyManager.swift
+++ b/Example Apps/Example Swift/ProxyManager.swift
@@ -287,12 +287,12 @@ private extension ProxyManager {
// Primary graphic
if imageFieldSupported(imageFieldName: .graphic) {
- screenManager.primaryGraphic = areImagesVisible ? SDLArtwork(image: UIImage(named: ExampleAppLogoName)!.withRenderingMode(.alwaysOriginal), persistent: false, as: .PNG) : nil
+ screenManager.primaryGraphic = areImagesVisible ? SDLArtwork(image: UIImage(named: ExampleAppLogoName)!.withRenderingMode(.alwaysOriginal), persistent: true, as: .PNG) : nil
}
// Secondary graphic
if imageFieldSupported(imageFieldName: .secondaryGraphic) {
- screenManager.secondaryGraphic = areImagesVisible ? SDLArtwork(image: UIImage(named: CarBWIconImageName)!, persistent: false, as: .PNG) : nil
+ screenManager.secondaryGraphic = areImagesVisible ? SDLArtwork(image: UIImage(named: CarBWIconImageName)!, persistent: true, as: .PNG) : nil
}
screenManager.endUpdates(completionHandler: { (error) in