English 中文(简体)
UIButton未展示的头衔
原标题:Title not showing up for UIButton

我有一个UIButton的图像。 我也想在形象下显示案文。

我在《国际仲裁裁决汇编》中确定的标题似乎都没有做到:

[listViewUIButton setTitle:@"Blah" forState:UIControlStateNormal];

无论是哪一种方式,只要图像显示......,文本也看不到......。

谁能帮助?

Thanks Deshawn

最佳回答

不仅没有树立子的形象,反而树立了背景形象。 如果我正确的话,案文应高于背景形象。 此外,确保你的子群框架足以容纳案文。

我不敢肯定你是否能够在独立邦树立背景形象,因为我没有使用。 但是,在纽特成立之后,你可以将其编成法典。

问题回答

暂无回答




相关问题
How do you create UIBarButtonItems with a radio interface?

I have a UIToolbar that needs three buttons in a radio style, meaning that of the three, only one button can be pushed at a time. The documentation makes reference to the possibility of setting up ...

iPhone settings bundle

I want to allow the user to enter a valid date using the iPhone’s settings application. I have experimented with many of the PreferenceSpecifiers data node types including date. I have two issues: ...

Circular #import/@class problem in ObjectiveC

I m going to use an example to properly illustrate my confusion. I can t quite wrap my head around this. In Cocoa touch, we have UIViewController and its subclass, UINavigationController. Now, UIVC ...

Writing a masked image to disk as a PNG file

Basically I m downloading images off of a webserver and then caching them to the disk, but before I do so I want to mask them. I m using the masking code everyone seems to point at which can be found ...

Cocoa-Touch: issue looping MPMoviePlayerController

I have an app which has to load some data at startup, so I want to display a splash-screen animation. I m using the MPMoviePlayerController to play a m4v file. The movie has it s background set to [...

Iphone sequential animation with setAnimationDelay

I m trying to chain animation events. The application I m coding for work has a multiple choice quiz. First you pick your multiple choice answer. The quiz view fades away. Then a label ("correct" or "...

热门标签