I am getting a warning of deprecated in ios6 when using
label.lineBreakMode=UILineBreakModeCharacterWrap;
Is there any other method for this?
from the documentation, use NSLineBreakByCharWrapping to eliminate the warning.
Use NSLineBreakByCharWrapping
instead. The documentation for UILineBreakModeCharacterWrap
points this out.
As per the documentation
use NSLineBreakByCharWrapping to eliminate the warning.
label.lineBreakMode = NSLineBreakByCharWrapping;
and for the test alignment use..
label.textAlignment = NSTextAlignmentLeft;
Happy Coding!!!