回答編集履歴
1
追記
test
CHANGED
@@ -9,3 +9,19 @@
|
|
9
9
|
> Note
|
10
10
|
|
11
11
|
The prefetch method is not necessarily called for every cell in the table view. See Loading Data Asynchronously for details on a suggested approach to loading data.
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
---
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
自分で検証用プロジェクトを作って試してみたところ、collectionView の collectionViewLayout を設定したら呼ばれるようになりました。
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
```swift
|
24
|
+
|
25
|
+
collectionView.collectionViewLayout = UICollectionViewFlowLayout()
|
26
|
+
|
27
|
+
```
|