self.layer.borderWidth = 0.5;
on a UIButton
or UITextField
render fine on a retina screen, but on a non-retina screen only the top and left borders render while the right and bottom borders do not render.
I assume it has something to do with dpi of the screen and how sub point lines are drawn, but it's possible that there is a better explanation.
Question:
I'd like to know if it's possible to have all sides of a UIView
's border show as expected on both retina and non-retina screens with borderWidth
set to 0.5
.