UIImageView: change resolution of displayed vector image (for zooming)

Hi,

I have the following simple view hierarchy, which is basically a scrollView with its contentView, which contains an imageView:

This imageView has a vector image assigned to its image property. The problem now is that when zooming with the scrollView the resolution of the image - the imageView displays - stays the same and the image is displayed blurry. This is of course expected behavior.

My question now is: what is the proper way to adjust the resolution of the displayed image in the imageView to scrollView.zoomScale?

I have a bunch of "workarounds" like setting a bigger frame for imageView and then scaling it down via its transform property, but those don't seem like the proper and intended way to do this. Any suggestions?