diff options
author | Joel Fischer <joeljfischer@gmail.com> | 2019-07-30 14:00:16 -0400 |
---|---|---|
committer | Joel Fischer <joeljfischer@gmail.com> | 2019-07-30 14:00:16 -0400 |
commit | 265bf87ce8d508714032f4d9516a899d8fa502f2 (patch) | |
tree | 6abdb24ee6f0251b2678b34c8123177200aa2e80 | |
parent | a1df9814d9368d0e3aa4c76e2aa9dfaef1c890c1 (diff) | |
download | sdl_ios-feature/issue_1031_template_titles.tar.gz |
Include example app updatesfeature/issue_1031_template_titles
-rw-r--r-- | Example Apps/Example ObjC/ProxyManager.m | 1 | ||||
-rw-r--r-- | Example Apps/Example Swift/ProxyManager.swift | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Example Apps/Example ObjC/ProxyManager.m b/Example Apps/Example ObjC/ProxyManager.m index 453e843eb..980c5b137 100644 --- a/Example Apps/Example ObjC/ProxyManager.m +++ b/Example Apps/Example ObjC/ProxyManager.m @@ -188,6 +188,7 @@ NS_ASSUME_NONNULL_BEGIN [screenManager beginUpdates]; screenManager.textAlignment = SDLTextAlignmentLeft; + screenManager.title = isTextEnabled ? @"Home" : nil; screenManager.textField1 = isTextEnabled ? SmartDeviceLinkText : nil; screenManager.textField2 = isTextEnabled ? [NSString stringWithFormat:@"Obj-C %@", ExampleAppText] : nil; screenManager.textField3 = isTextEnabled ? self.vehicleDataManager.vehicleOdometerData : nil; diff --git a/Example Apps/Example Swift/ProxyManager.swift b/Example Apps/Example Swift/ProxyManager.swift index 40a703e4a..77d4f7976 100644 --- a/Example Apps/Example Swift/ProxyManager.swift +++ b/Example Apps/Example Swift/ProxyManager.swift @@ -266,6 +266,7 @@ private extension ProxyManager { screenManager.beginUpdates() screenManager.textAlignment = .left + screenManager.title = isTextVisible ? "Home" : nil screenManager.textField1 = isTextVisible ? SmartDeviceLinkText : nil screenManager.textField2 = isTextVisible ? "Swift \(ExampleAppText)" : nil screenManager.textField3 = isTextVisible ? vehicleDataManager.vehicleOdometerData : nil |