iphone / ipad: ¿Cómo usar exactamente NSAttributedString?
Sí, muchas personas dicen acerca de Rich Text en iPhone / iPad y muchos saben sobreNSAttributedString
.
Pero como usarNSAttributedString
? Busqué mucho tiempo, no extraigo pistas para esto.
Sé cómo configurar unNSAttributedString
, ¿qué debo hacer para mostrar un texto en iPhone / iPad con texto enriquecido?
Los documentos oficiales dicen que debería usarse conCoreText.Framework
, ¿Qué significa eso?
¿Hay alguna manera simple como esta?
NSAttributedString *str;
.....
UILabel *label;
label.attributedString = str;