English 中文(简体)
UILabel Text Not Appearing on Some Equipments
原标题:UILabel Text Not Appearing on Some Devices

我有一个简单的职业介绍所,并收到一些用户关于他们看不到信息的报告。 我做了一些测试,发现我可以看到我的第4版文本,但当我对我的旧的Pi3G进行测试时,标签案文没有出现。 我可以看到标签(它有色背景),但没有文字。

I am assuming most of the users have a 3GS or better, but have not nailed it down to exactly who is / is not seeing the error.

为什么会发生这种情况?

我的实验室与界面建筑商中的一家工业家连接起来。

myLabel.backgroundColor = [UIColor redColor];
myLabel.textColor = [UIColor blueColor];
myLabel.text = @"MY MESSAGE";       
myLabel.frame = CGRectMake(0, 100, 320, 40);
最佳回答

假设你正在使用标准名称,而不是互联网上发现的一些子级。 你们是否使用习惯。 你们是否看到红 back? 有许多事情可能是错误的,我们需要更多的信息。

问题回答

我有这个问题,并把它追踪到一个老问题。 Helvetica Neue Medium并未列入我的iDevices山座。 其中可以看到“中立”组织。





相关问题
Which non-bold UTF-8 iPhone SDK font can I use here?

Problem: I create a UILabel with this font: label.font = [UIFont systemFontOfSize:15.0f]; Now this system font is bold, but I want to display pretty small text, and the text may also contain very ...

Limiting file upload type

Simple question. Is there a way to only allow txt files upon uploading? I ve looked around and all I find is text/php, which allows PHP. $uploaded_type=="text/php

Extract everything from PDF [closed]

Looking for solution to extract content from a PDF file (using console tool or a library). It will be used on server to produce on-line e-books from uploaded PDF files. Need to extract following ...

Flash & external form fields

Does anybody know if this is possible? I am trying to create a flash movie that will show / preview what I am typing into a field in a normal HTML form. The call to update the flash movie would most ...

Avoiding escape sequence processing in ActionScript?

I need to mimic C# functionality of the @ symbol when it precedes a string. @"C:AFilePath" for example What is the best way to do this? Also there are some sites that will escape larger ...

iPhone: Draw rotated text?

I want to draw some text in a view, rotated 90°. I m pretty new to iPhone development, and poking around the web reveals a number of different solutions. I ve tried a few and usually end up with my ...

Numbering in jQuery

How could I change the text below so that the text within it has a number appended to it. <div class="right">This is some text</div> <div class="right">This is some text</div>...

热门标签