背景图像 TextField 不出现
我在界面生成器中有 XCode 4.2,
我正在为 TextField 选择背景图像,但它没有出现。我对自定义按钮做了同样的事情,效果很好。不知道我错过了什么。
愚蠢的问题,但我无法弄清楚。
I have XCode 4.2
In interface builder i´m choosing a background image for my TextField but it just doesn´t appear. I did the same for a custom button and worked great. Don´t know what i´missing.
Dumb question, but i can´t figured it out.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
可能是以下之一...
如果禁用文本字段或将 borderStyle 值设置为 UITextBorderStyleRoundedRect 样式,则与文本字段关联的自定义背景图像将被忽略。
Possibly one of the following...
If the textfield is disabled or if the borderStyle value is set to the UITextBorderStyleRoundedRect style, the custom background image associated with the text field is ignored.
与文本字段关联的自定义背景图像将可见。
The custom background image associated with the text field would be visible.