在Label或TextView上开始一个新行(段落)

Nic*_*ury 15 iphone ipad ios xcode4

我想在标签和TextView上开始一个新的行段落,但我找不到通过Interface Builder来实现的方法.你能帮我吗?提前致谢

Pie*_*nan 24

两个步骤:

  • 在Interface Builder中,您必须将"行数"选项设置为0
  • 使用Cmd + Return(或Alt-Return)进行回车