Separator of cell change with different thickness when scrolling

This is a problem with the separator of UITableView in applications, which not support iPhone 6/6 Plus resolution.

Problem

You have an application which works well on iPhone <= 5s. But on iPhone 6 or 6 Plus (device or simulator), the separators have a different thickness, and they change the thickness randomly when you scrolling the table as the screenshot:

qZAHu

Reason

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.

Solution

Open you .plist file and add this key & value

Renders with edge antialiasing: YES
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s