TableView's Rows Seperating Lines flickers as user Scrolls

Hi !

The tableView’s lines will flicker(disappear and re-appear) as user scroll through it. I realize it happens for most of the tableviews i worked with. Is there a way to resolve this? Thanks!

Regards,

Vincent

This is a simulator issue because you don’t have the skin at 100%.  Because a 1 pixel line at 640x960 is 1 pixel. When you view it smaller, say 320x480, the line scales to 1/2 pixel, but you can’t show 1/2 pixel, so some times you will get a line, some times you want depending on where it is when the screen is being resampled down.

Rob

Hi Rob! Thanks for the response! However the problem doesn’t just persist in simulator , when build on device the lines flicker as well. In addition, i havent found a way to make the table row’s lines thicker. If that is the case, how should i solve it programmatically?

Hi Corona!

Would like to ask if theres a solution to this? Apparently on the iPad it doesnt flicker because of the bigger resolution. But on Iphone6 and anything lesser , it flickers. I believe like what Rod said, its due to the pixel size. Is there a way to make it such that the strokewidth of the tableview by default is 2 instead of 1? Either that or an extra parameter at the table view to adjust this. This would fix the problem smoothly. Thanks.

Regards,

Vincent

I always use a 2 pixel line for things like that. I believe it is the device aliasing which affects the final output. On iPhone 6 (not plus) it could to be worse because of the under sampling they perform (but probably not.)

This is a simulator issue because you don’t have the skin at 100%.  Because a 1 pixel line at 640x960 is 1 pixel. When you view it smaller, say 320x480, the line scales to 1/2 pixel, but you can’t show 1/2 pixel, so some times you will get a line, some times you want depending on where it is when the screen is being resampled down.

Rob

Hi Rob! Thanks for the response! However the problem doesn’t just persist in simulator , when build on device the lines flicker as well. In addition, i havent found a way to make the table row’s lines thicker. If that is the case, how should i solve it programmatically?

Hi Corona!

Would like to ask if theres a solution to this? Apparently on the iPad it doesnt flicker because of the bigger resolution. But on Iphone6 and anything lesser , it flickers. I believe like what Rod said, its due to the pixel size. Is there a way to make it such that the strokewidth of the tableview by default is 2 instead of 1? Either that or an extra parameter at the table view to adjust this. This would fix the problem smoothly. Thanks.

Regards,

Vincent

I always use a 2 pixel line for things like that. I believe it is the device aliasing which affects the final output. On iPhone 6 (not plus) it could to be worse because of the under sampling they perform (but probably not.)