tvOS: Rounded corners for image view when focused
问题 I have an image view that will get this awesome tvOS focus effect when the containing view gets focused. The problem is - it should have rounded corners. Now this is easily done: imageView.layer.cornerRadius = 5 imageView.layer.masksToBounds = true I have to set either masksToBounds of the layer or clipsToBounds of the image view to true (which is basically the same), in order to clip the edges of the image - but as soon as I do this, the focus effect won't work any more, because it will get