Sfoglia il codice sorgente

fix bottom edge in settings view

Tobias Conradi 9 anni fa
parent
commit
4b527e2e66
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      VLC for Apple TV/VLCSettingsTableViewController.m

+ 3 - 0
VLC for Apple TV/VLCSettingsTableViewController.m

@@ -39,6 +39,9 @@
     [super viewDidLoad];
 
     self.clearsSelectionOnViewWillAppear = YES;
+    self.automaticallyAdjustsScrollViewInsets = NO;
+    self.edgesForExtendedLayout = UIRectEdgeAll ^ UIRectEdgeTop;
+
 
     _userDefaults = [NSUserDefaults standardUserDefaults];
     _settingsReader = [[IASKSettingsReader alloc] init];