marinofaggiana 5 years ago
parent
commit
65875be180
2 changed files with 2 additions and 7 deletions
  1. 2 2
      iOSClient/Main/Main.storyboard
  2. 0 5
      iOSClient/Main/NCDetailViewController.swift

+ 2 - 2
iOSClient/Main/Main.storyboard

@@ -162,13 +162,13 @@
                         <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                         <subviews>
                             <imageView tag="999" contentMode="center" horizontalHuggingPriority="251" verticalHuggingPriority="251" preservesSuperviewLayoutMargins="YES" image="logo" translatesAutoresizingMaskIntoConstraints="NO" id="zlU-MP-ZVs">
-                                <rect key="frame" x="0.0" y="88" width="414" height="774"/>
+                                <rect key="frame" x="0.0" y="88" width="414" height="808"/>
                             </imageView>
                         </subviews>
                         <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                         <constraints>
                             <constraint firstAttribute="trailing" secondItem="zlU-MP-ZVs" secondAttribute="trailing" id="GuY-bH-GIn"/>
-                            <constraint firstItem="3ph-Od-2hO" firstAttribute="bottom" secondItem="zlU-MP-ZVs" secondAttribute="bottom" id="hvN-HY-D9V"/>
+                            <constraint firstAttribute="bottom" secondItem="zlU-MP-ZVs" secondAttribute="bottom" id="hvN-HY-D9V"/>
                             <constraint firstItem="zlU-MP-ZVs" firstAttribute="leading" secondItem="3ph-Od-2hO" secondAttribute="leading" id="sVy-C6-hu1"/>
                             <constraint firstItem="zlU-MP-ZVs" firstAttribute="top" secondItem="3ph-Od-2hO" secondAttribute="top" id="tUS-Af-SE7"/>
                         </constraints>

+ 0 - 5
iOSClient/Main/NCDetailViewController.swift

@@ -250,9 +250,6 @@ class NCDetailViewController: UIViewController {
         // IMAGE
         if metadata.typeFile == k_metadataTypeFile_image {
             
-            //self.extendedLayoutIncludesOpaqueBars = true
-            //self.edgesForExtendedLayout = .all
-            
             viewImage()
             return
         }
@@ -521,8 +518,6 @@ extension NCDetailViewController: MediaBrowserViewControllerDelegate, MediaBrows
             navigationController.isNavigationBarHidden = true
             view.backgroundColor = .black
         }
-        
-        mediaBrowser.changeInViewSize(to: self.backgroundView.frame.size)
     }
     
     func mediaBrowserDismiss() {