iPhone – Best method to import/drawing UI graphic elements? CGContextDrawPDFPage?
Posted
by Ross
on Stack Overflow
See other posts from Stack Overflow
or by Ross
Published on 2010-05-26T15:03:39Z
Indexed on
2010/05/26
15:31 UTC
Read the original article
Hit count: 528
Hello,
What is the best way to use the custom UI graphics on the iPhone?
I've come across CGContextDrawPDFPage
and Panic's Shrinkit. Should I be using storing my vector ui graphics as PDF's and loading them using CGContextDrawPDFPage
to draw them.
I did previously asked what way Apple store their UI graphics and was answered crushed png.
The options as I see it, but I would really want to know what technique other people use.
This question is for vector graphics only. Looking for what is standard / most effective / most efficient.
- PNG (bitmapped image)
- Custom UIView drawing code (generated from Opacity)
- PDF (I've not used this method, is it with CGContextDrawPDFPage?)
Many thanks Ross
© Stack Overflow or respective owner