瀏覽代碼

UI improvements of settings table view and remote playback description text

Felix Paul Kühne 9 年之前
父節點
當前提交
93c4421e19
共有 2 個文件被更改,包括 5 次插入2 次删除
  1. 2 2
      Apple-TV/VLCRemotePlaybackViewController.xib
  2. 3 0
      Apple-TV/VLCSettingsViewController.m

+ 2 - 2
Apple-TV/VLCRemotePlaybackViewController.xib

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<document type="com.apple.InterfaceBuilder.AppleTV.XIB" version="3.0" toolsVersion="9060" systemVersion="15C47a" targetRuntime="AppleTV" propertyAccessControl="none" useAutolayout="YES">
+<document type="com.apple.InterfaceBuilder.AppleTV.XIB" version="3.0" toolsVersion="9060" systemVersion="15B42" targetRuntime="AppleTV" propertyAccessControl="none" useAutolayout="YES">
     <dependencies>
         <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="9051"/>
     </dependencies>
@@ -71,7 +71,7 @@ http://192.168.1.1</string>
                     <rect key="frame" x="246" y="532" width="1428" height="71"/>
                     <animations/>
                     <string key="text">Media shown here is stored locally on your Apple TV. Note that contents can be removed by the operating system without prior notice anytime when VLC is not running if your device runs out of storage.</string>
-                    <fontDescription key="fontDescription" style="UICTFontTextStyleSubhead"/>
+                    <fontDescription key="fontDescription" style="UICTFontTextStyleBody"/>
                     <color key="textColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/>
                     <nil key="highlightedColor"/>
                 </label>

+ 3 - 0
Apple-TV/VLCSettingsViewController.m

@@ -31,6 +31,9 @@
 
     _userDefaults = [NSUserDefaults standardUserDefaults];
     _settingsReader = [[IASKSettingsReader alloc] init];
+
+    self.automaticallyAdjustsScrollViewInsets = NO;
+    self.edgesForExtendedLayout = UIRectEdgeAll ^ UIRectEdgeTop;
 }
 
 - (NSString *)title