ios - 深色模式比浅色模式需要更多时间加载图片

标签 ios uiimageview uiimage ios-darkmode

我正在让我的应用支持深色模式,但遇到了问题。当应用程序处于深色模式时,加载图片所需的时间会比浅色模式要长得多。希望得到大家的帮助,非常感谢。

深色模式时间分析器 Dark mode time profiler光模式时间分析器 Light mode time profiler深色模式堆栈跟踪 Dark mode detail stack trace轻模式堆栈跟踪 enter image description here

最佳答案

您是否已验证您的图像没有基于系统外观的不同变体?

Xcode showing variants of an image based on light/dark mode

关于ios - 深色模式比浅色模式需要更多时间加载图片,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59840935/

相关文章:

ios - 如何在 searchBar 中设置 http 不区分大小写?

iOS8 Today View Extension 小部件在应用商店中出现 "FairPlay decryption failed"错误

ios - Swift 2.2 - SpriteKit - 子类 SKSpriteNode 类

ios - 如何 swift 将最终网址返回给委托(delegate)人?

ios - 在 UICollectionView 单元格下添加 UILabel

iphone - 在 UITableViewCell 子类中旋转 UIImageView

ios - UIImage animationImages 色调颜色?

ios - 如何比较 PHAsset 和 UIImage

iphone - 像素化的 iphone UIImageView

iphone - 截取部分iphone屏幕