Download a pdf vector image of 36x36 pixels, to which when I zoom it does not pixelate. This image is added to the project in the folder "Assets.xcassets" and in "Scale Factors" I chose "Single Vector".
But I happen to add it to my application (a game I'm doing) like this:
news = SKSpriteNode(imageNamed: "News")
news.setScale(7.6)
news.position = CGPoint(
x: CGRectGetMidX(self.frame),
y: CGRectGetMidY(self.frame) - 20
)
self.addChild(news)
And when I run the application on my iPhone, the image appears pixelated.
How can I do it so that my image does not become pixelated?