How I can display Image .svg into UICollectionView Cell?

Hello.
I am try display .svg image into my app for some collection view cell but can't display their, I am put UIImageView into collection view cell and load .svg from assets but I see pixels, after searching I decide that UIImageView don't support .svg image.

How I can load Image .svg into UICollectionView Cell?
I am should use some external library or convert .svg to pdf and then load image?

Regards, Ihor.
Answered by IlLoganlI in 642376022
I am solved this problem very simple, just convert .svg to .png with max size for iPad last version and has put to cell
Code Block
cell.mainPlayerImage.contentMode = .scaleToFill


And in all other small resolution looking good, but it's not good solution).
For me it good because I am need only ONE picture but for all resolution.
Accepted Answer
I am solved this problem very simple, just convert .svg to .png with max size for iPad last version and has put to cell
Code Block
cell.mainPlayerImage.contentMode = .scaleToFill


And in all other small resolution looking good, but it's not good solution).
For me it good because I am need only ONE picture but for all resolution.
How I can display Image .svg into UICollectionView Cell?
 
 
Q