【问题标题】:UINavigationBar background image for native resolution iphone 6 and 6 plusUINavigationBar 背景图像,用于原生分辨率 iphone 6 和 6 plus
【发布时间】:2014-11-06 17:10:29
【问题描述】:

我的应用程序有一个 UINavigationBar 背景图像,需要根据播放中的 iPhone 屏幕尺寸(4 英寸、4.7 英寸、5.5 英寸)交替宽度。有没有办法创建设备特定的图像,例如可以在启动屏幕中找到?现在我只看到 1x 2x 和 3x 的选项。谢谢

【问题讨论】:

    标签: ios8 uinavigationbar


    【解决方案1】:
    – (UIImage *)resizableImageWithCapInsets:(UIEdgeInsets)capInsets
    

    为我工作

    【讨论】:

      猜你喜欢
      • 2014-11-03
      • 1970-01-01
      • 1970-01-01
      • 2014-11-03
      • 2016-01-16
      • 2014-11-11
      相关资源
      最近更新 更多