Os cantos arredondados no fundo do texto atribuído são possíveis?
Eu atribui o texto com diferentes textcolors. Para uma melhor legibilidade no texto realçado, uso o backgroundcolor. É possível trazer o Efeito CALayer de cantos arredondados nesta Textarea? Não a área inteira, mas o texto especial dentro dela.
Meu Código:
NSAttributedString *text = [[NSAttributedString alloc] initWithString:@"Highlighted Text"
attributes:@{
NSFontAttributeName: [UIFont fontWithName:@"HelveticaNeue" size:10.0f],
NSForegroundColorAttributeName: [UIColor lightGrayColor],
NSBackgroundColorAttributeName: [UIColor darkGrayColor]
}];