For UIImageView, add a transparent border around the single-pixel image. This will cause the edges of your image to be inside the βinside,β and since the internal pixels will be interpolated during rotation, the borders will be magically smoothed. It also works for rotating UIButtons that have a custom image.
vocaro
source share