3 ms·
Except that if you want to use an image (say, on a button), you're still stuck with rasterized types. The only way to have resolution independence for buttons w
by Zev 17y ago
Except that if you want to use an image (say, on a button), you're still stuck with rasterized types. The only way to have resolution independence for buttons would be to use custom Quartz drawing.
There's no SVG or no PDF support in UIImage; the only part of the SDK that supports SVG is UIWebView. And Quartz PDF support is more suited for displaying pages of PDF's, not small images in a button.
- DLWormwood 17y agoThere's no SVG or no PDF support in UIImage; the only part of the SDK that supports SVG is UIWebView. And Quartz PDF support is more suited for displaying pages of PDF's, not small images in a button. This. I'm currently working on an iP* app, and I had to roll my own UIView class to handle PDF pages to provide vector imaging without resorting to a heavyweight web view.