From 2d857bcf70f7a2e1085d3daf612c4c3c48322b36 Mon Sep 17 00:00:00 2001 From: GRMrGecko Date: Thu, 4 Jun 2015 07:07:47 -0500 Subject: [PATCH] Fixed accessibility for search results. --- Classes/YouView/Player/MGMResult.m | 3 ++- Resources/YouView/YouView-Info.plist | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Classes/YouView/Player/MGMResult.m b/Classes/YouView/Player/MGMResult.m index e351f20..8ad6885 100644 --- a/Classes/YouView/Player/MGMResult.m +++ b/Classes/YouView/Player/MGMResult.m @@ -68,7 +68,8 @@ return @"video"; } - (NSString *)accessibilityDescription { - return @""; + NSDictionary *snippet = [item objectForKey:@"snippet"]; + return [snippet objectForKey:@"title"]; } - (NSDictionary *)item { return item; diff --git a/Resources/YouView/YouView-Info.plist b/Resources/YouView/YouView-Info.plist index 53b55e1..7b07a15 100644 --- a/Resources/YouView/YouView-Info.plist +++ b/Resources/YouView/YouView-Info.plist @@ -66,7 +66,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 0.6 + 0.6.1 CFBundleSignature ???? CFBundleURLTypes @@ -81,7 +81,7 @@ CFBundleVersion - 0.6 + 0.6.1 MGMGRBugsEmail bugs@mrgeckosmedia.com MGMGRContactEmail