uilabel
Error with simple UILabel?
I have a little problem: I have a view with a view controller and a tabbarcontroller in a main window.[详细]
2023-03-26 13:24 分类:问答Get the NSString height
I have an NSString, and I want to know its height to create an appropriate UILabel. Doing this NSString *string = @\"this is an example\";[详细]
2023-03-26 11:01 分类:问答Obj-C, set color of UILabel based on plist value?
I have created an iPhon开发者_StackOverflow社区e app with a table that pushes a standard detail view .xib when a row is selected. I\'ve successfully been able to populate the text values of several UI[详细]
2023-03-25 17:59 分类:问答Change UILabel background color
my code is UILabel *pTeamAlreadybl=[[UILabel alloc]initWithFrame:CGRectMake(110, 275,180,30)]; pTeamAlreadybl.text=@\" Team already?\";[详细]
2023-03-25 07:56 分类:问答iphone - how do I make my label look like iPhone's inbuilt ones?
I want to create custom labels using UILabel that look like the ones iPhone settings have. Something similar to[详细]
2023-03-25 07:02 分类:问答Add UILabel to UITableView - iphone
I am an iOS development newbie. I have a settings screen which is a UITableView. I want to add some explanation to it. I am using the following code to do it, but it skews up the text completely. Any[详细]
2023-03-25 06:48 分类:问答iOS - Resize UILabel to match content?
I have a UILabel with linecount of 0. I set the text for this UILabel in code. How can I make the UILable to resize itself until it displays the full content?[详细]
2023-03-25 00:39 分类:问答Make UILabel's text "Stick" to the top when having multiple lines - ios
I have a UILabel which is loaded using a xib files, with the maximum of 2 rows. When I have 2 rows of text, it all works fine, but If I have only 1, it is being written in the middle of the label, and[详细]
2023-03-24 16:52 分类:问答Subtract one from integer displayed in UILabel
I have a UILabel that adds one to its value -- basically it counts up -- when a button is pressed. Could someone please help me with a minus button? That way if the user accidentally presses the add 开[详细]
2023-03-24 12:12 分类:问答How can I get the next IBAction to affect the next empty IBOutet UILabel?
I have 12 Buttons with 0-11 tagged. When the user clicks the button the tag is inserted into the first of 12 label outlets. I want the next clicked button to automatically insert its tag into the next[详细]
2023-03-24 11:28 分类:问答