UITextAlignmentCenter for two liners with same number of characters, not aligned
I have a UILabel with text: 照明タイマーをセットする that is being cut into two lines "照明タイマー" and "をセットする", I set the lines of alignment of the UILabel to UITextAlignmentCenter, but the second line wouldn't align to center. I have also tried UILineBreakModeCharacterW开发者_StackOverflow社区rap and UILineBreakModeWordWrap, but it's still the same. Any ideas?
Thanks.
Setting it up in interface builder works fine.. have you solved it?
精彩评论