From 48ffca57ec3043c15eae65e612ff93ef30b03082 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sun, 26 Aug 2018 11:09:15 -0700 Subject: [PATCH] Fix infinite loop of loading UI spinners --- Moonlight TV/ViewController.m | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Moonlight TV/ViewController.m b/Moonlight TV/ViewController.m index 4fe25c1..8523b5f 100644 --- a/Moonlight TV/ViewController.m +++ b/Moonlight TV/ViewController.m @@ -694,7 +694,10 @@ static NSMutableSet* hostList; // this view via an error dialog from the stream // view, so we won't get a return to active notification // for that which would normally fire beginForegroundRefresh. - [self beginForegroundRefresh]; + + // HACK tvOS: When this is enabled, it causes us to endlessly + // refresh the UI if you go to the homescreen and back from the app grid. + //[self beginForegroundRefresh]; } - (void)viewDidDisappear:(BOOL)animated