With the release of the iPhone 6 Plus and "the weirdness of the resolution," this forward-thinking example from 2012 showcased a more efficient way to display vector-originating images.
An iOS example of adding resolution independence and future-proofing your app by using vector graphics.
This project displays a PDF file as different sizes and colors.
MGImageUtilities and UIImage-PDF submodules are required, therefore be sure to git clone like this:
git clone --recursive https://github.com/brackendev/iOS-Resolution-Independence-Objective-C.git
This project makes use of the following third-party libraries:
Bracken Spencer
iOS-Resolution-Independence-Objective-C is released under the MIT license. See the LICENSE file for more info.
- UIImage-PDF didn't like the PDF file that Adobe Illustrator made. So, instead of saving to PDF, save it to EPS, open it in Preview, then save it to PDF.
- Use Panic's ShrinkIt to reduce the PDF size.