Full image OR 1px pattern?
in my iPhone app I would to create a ThemeManager in order to skin the view. I am wondering what is the best way to limit memory use.
开发者_JAVA百科I would like to fill a view with a background. Should I load a 1px pattern and draw it into the view or should I load the complete image ?
Thanks for you comments.
Thierry
A 1px pattern sounds like you could use a plain color. But anyway, when you're optimizing:
- measure
- optimize
- measure
instead of just optimize.
精彩评论