Explorar o código

present server browsing view controller modally
- fixes issue were an empty server browser wasn't focusable from tab bar controller and therefore it wasn't possible to go back to the server list
- fixes bottom table view inset in server browser table view

Tobias Conradi %!s(int64=9) %!d(string=hai) anos
pai
achega
bc2fdb9f1a
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      VLC for Apple TV/VLCServerListTVTableViewController.m

+ 3 - 1
VLC for Apple TV/VLCServerListTVTableViewController.m

@@ -86,7 +86,9 @@
         id <VLCNetworkServerBrowser> browser = [service serverBrowser];
         if (browser) {
             VLCServerBrowsingTVTableViewController *browsingViewController = [[VLCServerBrowsingTVTableViewController alloc] initWithServerBrowser:browser];
-            [self showViewController:browsingViewController sender:nil];
+            [self presentViewController:[[UINavigationController alloc] initWithRootViewController:browsingViewController]
+                               animated:YES
+                             completion:nil];
             return;
         }
     }