I have a UILabel on multiple rows. The thing is that the number of rows varies and i don’t know to maintain the place of the text from the label ( the label auto-centers the text in it’s width and height ) . Can anyone help ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You’ll need to find the length that can be fitted within the bounds of the label. Check out this link which shows how to find length of a string to be displayed with a particular font.