uilabel Questions
3
First of all, there are many questions on StackOverflow, but none that fully answer this question.
The problem is mainly, but most likely not limited to, Thai and Arabic diacritics when rendered w...
Atherosclerosis asked 29/3, 2018 at 5:16
9
Solved
I have a UITableView and a Detail View embedded in a UINavigationController as so: I would like to turn on large titles for "My Notes" but I'd like to turn it off for the detail view. Something lik...
Allhallowmas asked 20/12, 2017 at 14:17
7
Solved
I created a grid of buttons. The following code creates the buttons and displays them, but there is no text on the button. Is there a setting I am missing? (Obj-C replies are fine, I'm bi-lingual)
...
Imine asked 7/3, 2010 at 2:33
2
Solved
I am trying to add labels in Swift, which are added in a loop. I then want to add a 'TapGesture' event to each one as they are added. It works , but the problem is that the function called takes da...
14
Solved
Is there anyway to change the character spacing (track) on UILabel text using Interface Builder? If not, is there a way to do it programmatically on an existing UILabel that was already created wit...
Marko asked 17/12, 2014 at 22:18
13
Solved
I have a UIButton that I add to my view controller's view in a storyboard. I add centering constraints to position it and leading space constraints to limit its width. In code I add:
self.button.t...
Bantling asked 2/12, 2014 at 21:30
4
Solved
I want to add GillSans-Bold font to a UILabel.
I have set it in the xib file , and I'm also setting it up in my class as follows :
[label setFont:[UIFont fontWithName:@"GillSans-Bold" size:18]];
...
5
Solved
Is it possible to apply both stroke and fill with an NSAttributedString and a UILabel?
Oneness asked 16/4, 2013 at 22:1
16
Solved
How to underline a UILabel in Swift? I searched the Objective-C ones but couldn't quite get them to work in Swift.
Sour asked 20/1, 2015 at 19:10
8
Solved
I have problem with application using XIBs without autolayout. I don't know if this is important information.
I have UILabel with 2 lines using word wrap. In iOS 10 word wrap was working correctl...
12
Solved
I have discovered that I can create UILabel much faster than UITextField and I plan to use UILabel most of the time for my data display app.
To make a long story short though, I wish to let the us...
8
Solved
I have a multiline UILabel whose font size I'd like to adjust depending on the text length. The whole text should fit into the label's frame without truncating it.
Unfortunately, according to the ...
Berwick asked 8/12, 2010 at 0:4
3
Solved
I'm trying to change the text on a label in a simple iOS app.
The idea is to write a message in a textField and have it change the label once I press a button.
the objective-c code states the fol...
3
Solved
I have a UILabel with some text, say "Hello World abcdefg" The label can have multiple lines, different font sizes etc.
Question: How do I find the coordinates of all letters "d" in this UILabel.
...
Jodee asked 7/7, 2010 at 0:6
4
Solved
Problem:
UILabel may clip italic (oblique) characters and even scripts at the left and right edges. The following screenshot displays the issue. At the left edge, the descender of the 'j' is clippe...
Tref asked 8/1, 2014 at 0:55
6
Solved
I have managed to style the links without problem using NSMutableAttributedString but I am unable to accurately detect which character has been clicked. I have tried all the solutions in this quest...
Mcgraw asked 24/5, 2018 at 9:8
5
Solved
Is there any way to tell if UILabel has its text set using label.attributedText or label.text property?
The problem is when you set attributedText, text is also updated and vice versa, so it is no...
Driskill asked 3/4, 2015 at 18:41
1
I've got a UILabel is using a border the same color as a background which it is half obscuring, to create a nice visual effect. However the problem is that there is still a tiny, yet noticeable, sl...
3
Solved
I have a list of URL addresses in a iOS Label object. It does not appear that the user can select and copy an item from the list and paste it into their Safari browser on the iOS device. Is there a...
7
Solved
I can't figure out how to code a drop shadow on a label. I have a score label that changes so just photoshopping text with shadows wont be possible. I need to code it so it automatically has a blur...
3
Solved
I need to draw a UILabel striked through. Therefore I subclassed UILabel and implemented it as follows:
@implementation UIStrikedLabel
- (void)drawTextInRect:(CGRect)rect{
[super drawTextInRect:...
Leanoraleant asked 27/8, 2009 at 12:10
11
Solved
hey, I want to be able to have a gradient fill on the text in a UILabel I know about CGGradient but i dont know how i would use it on a UILabel's text
i found this on google but i cant manage to g...
Tentative asked 12/8, 2009 at 13:29
9
Solved
I have a UILabel I've made programmatically as:
var label = UILabel()
I've then declared some styling for the label, including a font, such as:
label.frame = CGRect(x: 20, y: myHeaderView.frame.he...
1
Solved
I am trying to make a Swift protocol that I can use on UILabel, UITextField, and UITextView that incorporate their text, attributedText, and font properties.
However, unfortunately these three clas...
Proteose asked 3/9, 2020 at 23:10
19
Solved
How do I set bold and italic on UILabel of iPhone/iPad?
I searched the forum but nothing helped me. Could anyone help me?
Voluble asked 17/1, 2011 at 12:38
© 2022 - 2024 — McMap. All rights reserved.