ios - iPad 2 UIImageview 显示图像不正确(渲染不正确)

标签 ios iphone ipad uiimageview

我在 xcode 9.2 中创建了一个新的简单 iOS 项目,并将 iOS 部署目标设置为 iOS 8.0,然后将 UIImageview 添加到 View 并将图像名称设置为 UIImageview,在 iPad 2 (iOS 8.1.3) 上启动并运行,请参阅下图中的结果,imageview 渲染不正确

Click here to see the Result

Click here to see original image

最佳答案

检查这个答案:
https://forums.developer.apple.com/thread/93743

Issue is included in release notes for Xcode 9.2, hopeffully will be fixed soon https://developer.apple.com/library/content/releasenotes/DeveloperTools/RN-Xcode/Chapters/Introduction.html#//apple_ref/doc/uid/TP40001051-CH1-SW936
When using Xcode 9.2 to create apps that deploy to iOS 8 and later, images in the asset catalog may be corrupted when viewed on devices running iOS 8.3 and earlier. (35379713) Workaround: Build the app using Xcode 9.1, or use Xcode 9.2 and set the deployment target to iOS 8.4 or later.

关于ios - iPad 2 UIImageview 显示图像不正确(渲染不正确),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48682495/

相关文章:

iphone - iOS - 当 AFHTTPClient 完成所有操作时如何获得通知

.net - 在 .NET 中创建的 OpenXML 电子表格无法在 iPad 中打开

iphone - 应用程序启动后检测第一次用户交互(触摸、按下、点击、平移、捏合等)

iOS 7.1 map 未加载并给出以下消息

iphone - UINavigationController - 实现返回开始按钮

iphone - 如果 iphone 语言不是英语,uisearchDisplayController 不显示结果

ios - 企业发行版“无法下载应用程序”在iPhone 4上但在iPhone5上有效

iphone - 如何诊断 iPad iPhone 应用程序中的 EXC_BREAKPOINT (SIGTRAP) 崩溃?

ios - QuickLook,删除除完成按钮之外的所有工具栏按钮

iphone - 将 AM/PM 添加到日期选择器?