开发者

A big, green UIImage anyone? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 3 years ago.

开发者_开发问答 Improve this question

According to this post, there is a stretchable UIButton image that is red.

Does anyone have a green one? (My Photoshop skills are very poor.)


So you want a button with a gradient but you don't want to have to draw the image yourself?

Use a UISegmentedControl, make it bar style, one segment, give it a tint with the color you want and set the size to anything you want. Make its action momentary and start it in an unselected state. All this is doable in Interface Builder. The only difference from a UIButton is that you should connect up the value changed action instead of the touch up inside action.

This is by far the easiest way to do an attractive single button on iPhone/iPad.


U can just play with HUE color property ;-)alt text http://img34.imageshack.us/img34/1962/macscreenshotd.png


Bah you don't need photoshop! Use something like Paint.net on Windows or Seashore on OSX. Both are simple capable image editors.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜