ios - UILabel first letter lowercase -
i'm trying set first letter of uilabel lowercase, can't find answers help me. solve problem without editing original content.
something possible?
mylabel.text.autocapitalizationtype = uitextautocapitalizationtypenone; or must create nsstring's (that holds content) first letter lowercase before pass label?
update:
as nikolas said it's not possible uilabel, edit string solve problem.
i 1 time had same issue, thoroughly scanning docs of uilabel, didn't find alternative allow achieving on level of uilabel-api ended modifying resulting nsstring, guess that's not possible.
putting modifications cateogry uilabel (uilabel+capitalization.h) in end worked quite me, every time label modified phone call like: [label capitalize] quite convenient. hope helps!
ios objective-c uilabel
No comments:
Post a Comment