소스 검색

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