ios - iOS 9.1 的启动屏幕上的黑色方 block
<p><p>我刚刚在 iPhone 6s 上升级到 iOS 9.1 后注意到,启动屏幕中间有一个黑色方 block ,所以它覆盖了 Logo 。
我使用 <em>LaunchScreen.xib</em> 文件。这一切都适用于以前的 iOS 版本和模拟器。</p>
<p>任何人都有过这种经验并且知道如何解决它?还是需要报告的操作系统错误? </p>
<p>这是我的启动屏幕截图。</p>
<p> <a href="/image/nwRQC.jpg" rel="noreferrer noopener nofollow"><img src="/image/nwRQC.jpg" alt="enter image description here"/></a> </p>
<p><strong>编辑:</strong></p>
<pre><code><?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="9059" systemVersion="14F1021" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES">
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="9049"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<view contentMode="scaleAspectFill" id="iN0-l3-epB">
<rect key="frame" x="0.0" y="0.0" width="480" height="480"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<imageView userInteractionEnabled="NO" contentMode="center" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="splash_screen.png" translatesAutoresizingMaskIntoConstraints="NO" id="JQD-7b-VFF">
<rect key="frame" x="0.0" y="0.0" width="480" height="480"/>
<color key="backgroundColor" red="0.1962193080357143" green="0.1962193080357143" blue="0.1962193080357143" alpha="1" colorSpace="calibratedRGB"/>
</imageView>
</subviews>
<color key="backgroundColor" red="0.96470594409999999" green="0.96470594409999999" blue="0.96470594409999999" alpha="1" colorSpace="deviceRGB"/>
<constraints>
<constraint firstItem="JQD-7b-VFF" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="I7G-Rj-go3"/>
<constraint firstAttribute="trailing" secondItem="JQD-7b-VFF" secondAttribute="trailing" id="XkP-Lr-1sD"/>
<constraint firstAttribute="bottom" secondItem="JQD-7b-VFF" secondAttribute="bottom" id="ZHX-bu-Tzq"/>
<constraint firstItem="JQD-7b-VFF" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="oJ2-QD-G8U"/>
</constraints>
<nil key="simulatedStatusBarMetrics"/>
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
<point key="canvasLocation" x="404" y="445"/>
</view>
</objects>
<resources>
<image name="splash_screen.png" width="320" height="480"/>
</resources>
</document>
</code></pre>
<p>我很确定黑色方 block 应该是图像。 </p></p>
<br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
<p><p>这在某种程度上与损坏的 <strong><em>.png</em></strong> 图像有关。我很惊讶,因为它在其他任何地方都运行良好。换了图,问题就解决了。</p></p>
<p style="font-size: 20px;">关于ios - iOS 9.1 的启动屏幕上的黑色方 block ,我们在Stack Overflow上找到一个类似的问题:
<a href="https://stackoverflow.com/questions/33546487/" rel="noreferrer noopener nofollow" style="color: red;">
https://stackoverflow.com/questions/33546487/
</a>
</p>
页:
[1]