3 ms·
I think it's funny how no one has noticed that the iPhone/iPad SDK essentially has resolution independence built-in. All the Interface Builder default controls
by dcurtis 16y ago
I think it's funny how no one has noticed that the iPhone/iPad SDK essentially has resolution independence built-in. All the Interface Builder default controls are vectorized and can scale beautifully.
- Zev 16y agoExcept 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 16y 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.