开发者

IPhone: Custom Button - Why is title not showing?

So I basically dragged a button from interface builder's library, turned it into a Custom button. Then I added one png for the "default state configurat开发者_JS百科ion" and another png for the "highlighted state configuration". Let's just assume these png's are a red box and a blue box.

Now, I'd like the Title to display for the button i.e., "Press Me" or something. But the Title doesn't show. Am I missing something?? (I also tried to have that text in different colors but no dice...)

Thanks in advance.


Are you setting imageForState or backGroundImageForState? :)

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜