resizing image that generated by paintcode app : I have imported a vector image to paincode app and then export its swift to code. I want to use this vector image in a small View (30x30) but since I want it to work on different devices, I need it to be size-independent. 
The original size of the vector image is 512x512. When I add its class to a UIView, only a very small part of the vector image can be seen. 

[screenshot of the UIView the image inside it][1]

  [1]: https://i.stack.imgur.com/L1XIY.png

I need to somehow resize the image that can be fit in any size of a frame. I read somewhere, that I have to draw a frame in paintcode app around the image, I did it but nothing changed. 
could you help me on this?

thank you so much