From ad1ddd04f368cb15285d0439a192b72797592c0b Mon Sep 17 00:00:00 2001 From: Diego Waxemberg Date: Sun, 18 Oct 2015 16:52:14 -0700 Subject: [PATCH] no longer allow multiple apps to be selected at the same time --- Limelight/ViewControllers/MainFrameViewController.m | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Limelight/ViewControllers/MainFrameViewController.m b/Limelight/ViewControllers/MainFrameViewController.m index a42640cb..f93568be 100644 --- a/Limelight/ViewControllers/MainFrameViewController.m +++ b/Limelight/ViewControllers/MainFrameViewController.m @@ -517,6 +517,8 @@ static NSMutableSet* hostList; self.collectionView.delaysContentTouches = NO; + self.collectionView.allowsMultipleSelection = NO; + self.collectionView.multipleTouchEnabled = NO; [self retrieveSavedHosts]; _discMan = [[DiscoveryManager alloc] initWithHosts:[hostList allObjects] andCallback:self]; @@ -657,7 +659,8 @@ static NSMutableSet* hostList; cell.layer.borderColor = [[UIColor colorWithRed:0 green:0 blue:0 alpha:0.3f] CGColor]; cell.layer.borderWidth = 1; - + cell.exclusiveTouch = YES; + return cell; }