开发者

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:

  1. measure
  2. optimize
  3. measure

instead of just optimize.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜