0

In my app there is a big string of about 40 lines and I'm trying to put it on the Apple Watch. When I open it only 10 lines are being displayed and rest of the sting is getting truncated with dots. How can I show the entire string on the Apple Watch so that users can keep scrolling down.

4

1 回答 1

4

我有一个在我的 Watch 应用程序WKInterfaceLabel中显示多行文本的程序,没有问题。

有你想念的东西

将行数设置为0(我确定你已经设置好了)

将标签的高度设置为 Size To Fit Content(我猜您将其设置为固定可能是错误的)

检查您Label是否在某些WKInterfaceGroup. 如果是这样,那么您可能已经为 Group 设置了固定高度。也改成Size To Fit Content

于 2015-07-08T09:50:27.033 回答