iPhone 6/6 Plus: UITableView separator flickering and different thickness

后端 未结 3 1273
小鲜肉
小鲜肉 2020-12-24 15:08

I\'ve got a UITableView with separator set to Single Line.

On iPhones <= 5s everything looks fine, but on 6 and 6 Plus (device as well as simulator)

相关标签:
3条回答
  • 2020-12-24 15:21

    Aqua is right, the thickness and flickering problems go away if you add iOS8 launch images.

    But you don't need to make actual launch images if you are using storyboards. In Xcode, select your overall project and your app target, then under the General tab find App Icons and Launch Images, then in the Launch Screen File popup, just select your storyboard and the thickness/flickering problems go away.

    0 讨论(0)
  • 2020-12-24 15:29

    The problem is that your app doesn't support native resolution for the iPhone 6 and iPhone 6 Plus. Therefore it gets scaled up which results in the flickering.

    You can enable native resolution by adding iOS8 launch images. Then your app will run in the right resolution and this problem will be fixed.

    0 讨论(0)
  • 2020-12-24 15:35

    Add

    Renders with edge antialiasing: YES
    

    In you .plist file

    0 讨论(0)
提交回复
热议问题