summaryrefslogtreecommitdiff
path: root/Example Apps
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2018-09-18 14:27:06 -0400
committerJoel Fischer <joeljfischer@gmail.com>2018-09-18 14:27:06 -0400
commit9411a848803c053309b6d98f407088455ee7ed65 (patch)
tree4d3afa60a79e4d9f2320aae915dcab2ae788a93f /Example Apps
parent72114f39bdc52c0d0cae9d3fba45d01489b2e2d6 (diff)
downloadsdl_ios-9411a848803c053309b6d98f407088455ee7ed65.tar.gz
Add documentation to SDLButtonNameOkfeature/issue_246_play_pause_enum
Diffstat (limited to 'Example Apps')
-rw-r--r--Example Apps/Example ObjC/ProxyManager.m12
1 files changed, 2 insertions, 10 deletions
diff --git a/Example Apps/Example ObjC/ProxyManager.m b/Example Apps/Example ObjC/ProxyManager.m
index 8e752c171..317b9cb92 100644
--- a/Example Apps/Example ObjC/ProxyManager.m
+++ b/Example Apps/Example ObjC/ProxyManager.m
@@ -161,19 +161,11 @@ NS_ASSUME_NONNULL_BEGIN
- (void)sdlex_showInitialData {
if (![self.sdlManager.hmiLevel isEqualToEnum:SDLHMILevelFull]) { return; }
-// SDLSetDisplayLayout *setDisplayLayout = [[SDLSetDisplayLayout alloc] initWithPredefinedLayout:SDLPredefinedLayoutNonMedia];
-// [self.sdlManager sendRequest:setDisplayLayout];
+ SDLSetDisplayLayout *setDisplayLayout = [[SDLSetDisplayLayout alloc] initWithPredefinedLayout:SDLPredefinedLayoutNonMedia];
+ [self.sdlManager sendRequest:setDisplayLayout];
[self sdlex_updateScreen];
self.sdlManager.screenManager.softButtonObjects = [self.buttonManager allScreenSoftButtons];
-
- SDLSubscribeButton *subscribeOk = [[SDLSubscribeButton alloc] initWithButtonName:SDLButtonNamePlayPause handler:^(SDLOnButtonPress * _Nullable buttonPress, SDLOnButtonEvent * _Nullable buttonEvent) {
- NSLog(@"OK PRESSED");
- }];
-
- [self.sdlManager sendRequest:subscribeOk withResponseHandler:^(__kindof SDLRPCRequest * _Nullable request, __kindof SDLRPCResponse * _Nullable response, NSError * _Nullable error) {
- NSLog(@"OK Request: %@, response: %@, error: %@", request, response, error);
- }];
}
- (nullable RefreshUIHandler)refreshUIHandler {