Tengo un problema que en iOS estoy usando UILabel para mostrar texto de 2,3 líneas, quiero alinear el texto como justificado, pero no encuentro ninguna opción para hacerlo. ¿Alguna sugerencia de cómo justificar el texto en la etiqueta?Justificar texto en UILabel iOS
i poner estas líneas para hacer iniciarlo desde la parte superior
CGSize maximumSize = CGSizeMake(300, 9999);
NSString *textString = someString;
UIFont *textFont = [UIFont fontWithName:@"Futura" size:14];
CGSize textStringSize = [textString sizeWithFont:textFont
constrainedToSize:maximumSize
lineBreakMode:text.lineBreakMode];
CGRect textFrame = CGRectMake(10, 110, 300, textStringSize.height);
text.frame = textFrame;
por lo que cualquier truco como esto para hacerle justfiy Gracias
"paragraphStyles.firstLineHeadIndent = 10.0" eso era lo que estoy buscando. ¡Gracias! – Neru
¡Funciona como un encanto! ¡Gracias! –