标签: ios swift watchkit apple-watch wkinterfacelabel
有人可以帮我在手表应用程序的WKInterfaceLabel中将lineBreakMode设置为wordWrap吗?
我尝试了setAttributedText,但没有成功。这是我的相同代码。我正在使用swift作为编程语言。
<div (click)="operation(1)"></div> <div (click)="operation(-1)"></div> value = 0; operation(op){ this.value += op; }