PDF in Assets doesn't use vectors

I thought I heard in some WWDC video that PDF images in asset files that included vectors would scale to any size. Maybe this is only in UIImage, not a SKSpriteNode? Doesn't seem to work unless I am missing something.

Replies

Did you remember to set the option in the inspector to tell it to keep the vectorized version of the image? IIRC, it's the bottom popup of the Attributes inspector.

I did, but the sprite node clearly is not using them. Maybe a bug? or unsupported in spritekit?

Well, I would try working backwards first. What happens if you try to load the UIImage manually, and create a texture from that to create the sprite? If the behavior is different, that certainly looks like a bug in Sprite Kit.