回答編集履歴
2
修正
answer
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
`lineBreakMode`はラベルに対して設定するので、以下の様にしてみてください。
|
2
2
|
|
3
|
+
[【Swift】UILabel | ポケットリファレンス サンプル付き](https://blog.77jp.net/uilabel-swift-japanese-document-xcode)
|
4
|
+
|
3
5
|
```swift
|
4
6
|
cell.descLabel.lineBreakMode = NSLineBreakMode.byTruncatingTail
|
5
7
|
```
|
1
修正
answer
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
以下の様に
|
1
|
+
`lineBreakMode`はラベルに対して設定するので、以下の様にしてみてください。
|
2
2
|
|
3
3
|
```swift
|
4
4
|
cell.descLabel.lineBreakMode = NSLineBreakMode.byTruncatingTail
|