UIImage withTintColor <iOS 13

Hello, I want to change tint color to UIImage which is vector. The problem is I manage it to do only with extension, and this extension brings me back bitmap image. And of course, it gets pixelated. So for that, I've to pass the UIImageView's size and from this part it becomes tricky.

Is there a way to write extension for UIImage and get vector image tinted below iOS 13?
UIImage withTintColor &lt;iOS 13
 
 
Q