【问题标题】:iOS Tabbar UITabbarItem decrease size after tapiOS Tabbar UITabbarItem在点击后减小大小
【发布时间】:2014-12-04 11:41:51
【问题描述】:

我正在使用情节提要和 TabbarViewController。 tabbaritems 在点击后会减小它们的大小。图像在 NavigationController 中设置,NavigationController 中的名称是 Images.xcassets 中图像集的名称。 Images.xcassets 中的图像大小为 25x25 (1x)、50x50 (2x) 和 75x75 (3x)。 我必须做某事吗?以编程方式?

Screenshot

【问题讨论】:

    标签: uitabbarcontroller ios8 uitabbaritem xcode6gm


    【解决方案1】:

    这似乎是您设置图像插入时出现的错误。似乎每次点击时都会应用图像插图。避免它的唯一方法似乎是不使用图像插入或以这种方式设置它们:left+right =0 和 top+bottom=0

    我在 bugreport.apple.com 和 openradar 中提交了一个错误:https://openradar.appspot.com/radar?id=4938457482788864

    【讨论】:

      猜你喜欢
      • 2014-06-18
      • 2013-09-10
      • 2015-10-07
      • 2019-11-06
      • 1970-01-01
      • 1970-01-01
      • 2012-02-19
      • 2013-04-05
      • 2012-03-26
      相关资源
      最近更新 更多