Xcode5 and iOS7: trailing whitespaces in strings in Localizable.strings not working anymore

后端 未结 3 841
说谎
说谎 2021-01-12 17:43

In my Localizable.strings I define a string with trailing whitespaces like this:

\"%@ points  \" = \"%@ Punkte  \";

This w

3条回答
  •  隐瞒了意图╮
    2021-01-12 18:22

    Ok, I am solving this issue by adding the label as a subview to a view and setting the width of the label a bit smaller that that of the view.

    All styling, i.e. background image, animations etc. is done to the view, not the label. Not the KISS principle but it works.

    Thanks anyway.

提交回复
热议问题