uilabel
UILabel with UIButton like glow on touch
I have a dynamically created list of labels and I am using GestureRecognizer for each of the labels to detect touches/click on them. I couldn\'t use UIButton as I wanted to pass some text which is uni[详细]
2023-04-13 05:22 分类:问答iOS3, iOS4, xibbed UIViewController and displaying data
I\'m writing an app that will run on iOS3.0 and up. The app has a custom UIViewController (say), which I\'m instantiating from a .xib file. It\'s view comprises a single UILabel, which I\'ve correctl[详细]
2023-04-12 22:51 分类:问答Scrolling UILabel Animation not starting after specific content change
Im building some sort of a scroll label, which basically is a UIView containing a label that i animate, causing the child Label to go back and forth if the text is larger than the UIView;[详细]
2023-04-12 04:06 分类:问答create UIImage from UILabel?
I can use the following code to create image from UIView. However the same code won\'t capture the text of UILabel.(it captures label\'s background color though)[详细]
2023-04-11 13:54 分类:问答iPhone UITableViewCell performance adding multiple Views vs one View with drawRect
I am creating some UITableViewCells with several custom items inside, my question is what route to go:[详细]
2023-04-11 10:18 分类:问答Is there a way to get the shadowPath for a UILabel text?
I\'m currently using a UILabel to display some text. I\'m using CALayer to give it a nice shadow. But: performance is really bad when I\'m positioning (and moving) a lot of UILabel elements on the scr[详细]
2023-04-10 18:58 分类:问答Assigning NSMutableString To UILabel Text
I am making a fraction calculator app from the Programming In Objective-C 2.0 book. I am using XCode 4.1 for Lion. I have completely and successfully without any error typed in the code. But when I pr[详细]
2023-04-10 11:27 分类:问答UILabel sizing during device rotation
In my app I have two labels. Second one should be positioned below the first one (with some small const padding). The first label is multi-lined and takes all possible width. So after changing interfa[详细]
2023-04-10 05:41 分类:问答UISlider's value is not shown by UILabel
In my app, I have a Settings view, where the user can use UISlider to set value from 50 to 1000.The selected value is then shown in a UILabel.[详细]
2023-04-09 09:27 分类:问答UILabel to automatic line break when line is too long
My UILabel can do a line break according to the current \\n . But if the line itself is too long, it won\'t be able to automatically do a line break. Can I do more configurations to my UILabel to achi[详细]
2023-04-09 07:43 分类:问答