質問編集履歴
7
追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -35,6 +35,8 @@
|
|
35
35
|
// セル生成
|
36
36
|
|
37
37
|
let cell = table.dequeueReusableCell(withIdentifier: "chatCell", for: indexPath) as! ChatTableViewCell
|
38
|
+
|
39
|
+
let text = cell.viewWithTag(3) as! UITextView
|
38
40
|
|
39
41
|
|
40
42
|
|
6
説明追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -64,7 +64,7 @@
|
|
64
64
|
|
65
65
|
}
|
66
66
|
|
67
|
-
// コメントアウト外すと1行になります
|
67
|
+
// コメントアウト外すと全て1行になります
|
68
68
|
|
69
69
|
//func tableView(_ table: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
|
70
70
|
|
5
説明追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -64,7 +64,7 @@
|
|
64
64
|
|
65
65
|
}
|
66
66
|
|
67
|
-
|
67
|
+
// コメントアウト外すと1行になります
|
68
68
|
|
69
69
|
//func tableView(_ table: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
|
70
70
|
|
4
コード
test
CHANGED
File without changes
|
test
CHANGED
@@ -66,11 +66,11 @@
|
|
66
66
|
|
67
67
|
|
68
68
|
|
69
|
-
func tableView(_ table: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
|
69
|
+
//func tableView(_ table: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
|
70
70
|
|
71
|
-
return 49
|
71
|
+
// return 49
|
72
72
|
|
73
|
-
}
|
73
|
+
//}
|
74
74
|
|
75
75
|
|
76
76
|
|
3
説明
test
CHANGED
File without changes
|
test
CHANGED
@@ -11,6 +11,8 @@
|
|
11
11
|
|
12
12
|
|
13
13
|
可変になるものとならないものがある
|
14
|
+
|
15
|
+
1番最初の長文だけ長くなるが、それ以降のは全て1行になってしまう
|
14
16
|
|
15
17
|
![イメージ説明](69a73f0ba9c8d94395ee46dfd452cd27.png)
|
16
18
|
|
2
画像追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -10,13 +10,19 @@
|
|
10
10
|
|
11
11
|
|
12
12
|
|
13
|
+
可変になるものとならないものがある
|
14
|
+
|
13
15
|
![イメージ説明](69a73f0ba9c8d94395ee46dfd452cd27.png)
|
14
16
|
|
15
17
|
![イメージ説明](78ce5fd80295c5ac88a465ed82bce285.png)
|
16
18
|
|
17
19
|
|
18
20
|
|
19
|
-
|
21
|
+
なぜか隙間があく
|
22
|
+
|
23
|
+
![イメージ説明](fedfae3820f6db6205cc116c39e7ed0b.png)
|
24
|
+
|
25
|
+
|
20
26
|
|
21
27
|
謎です。
|
22
28
|
|
1
画像追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -3,6 +3,22 @@
|
|
3
3
|
[参照2](https://teratail.com/questions/113512)
|
4
4
|
|
5
5
|
|
6
|
+
|
7
|
+
![イメージ説明](58a353b23953d929166fef34df7bf64d.png)
|
8
|
+
|
9
|
+
![イメージ説明](4fbb69c6ad5ab179dd4b81da4b4559c6.png)
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
![イメージ説明](69a73f0ba9c8d94395ee46dfd452cd27.png)
|
14
|
+
|
15
|
+
![イメージ説明](78ce5fd80295c5ac88a465ed82bce285.png)
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
可変になるものとならないものがある
|
20
|
+
|
21
|
+
謎です。
|
6
22
|
|
7
23
|
```Swift
|
8
24
|
|