I have a UINavigationBar which title I would like to capitalize all letters so ‘word’ becomes ‘WORD’.
I would like to do the same for buttons within this nav bar.
I was wondering if is there anything like CSS text-transform:uppercase; attribute where it is possible to change the visual appearance of the word but once retrieving its value it stills returning its raw value.
Thank you in advance
As using
[myString uppercaseString]has the downside of returning an uppercase string (well, it is not actually a downside ..) and not the original string, one option would be to set a UILabel with an all-caps font (Copperplate is just an example of an all-caps font, you will likely find a better one):