search

Home  >  Q&A  >  body text

objective-c - iOS模拟器iphone6 和 iPhone5显示效果问题

该菜单栏添加在一个scroll上。
黑色竖杠显示有问题,设置bounds相同,粗细却不同(表示模拟器iPhone5显示正常)

ringa_leeringa_lee2772 days ago658

reply all(2)I'll reply

  • 天蓬老师

    天蓬老师2017-04-25 09:05:40

    If you use AutoLayout, just set the width of the vertical line

    reply
    0
  • 某草草

    某草草2017-04-25 09:05:40

    Is it possible that it has been resized? Try setting your vertical bar autoresizingMask = 0

    reply
    0
  • Cancelreply