Deprecated UILineBreakModeCharacterWrap Warning

ios6, iphone, xcode4.5

Solution

from the documentation, use NSLineBreakByCharWrapping to eliminate the warning.

Problem

I am getting a warning of deprecated in ios6 when using ``` label.lineBreakMode=UILineBreakModeCharacterWrap; ``` Is there any other method for this?

Original source