H
H
hohfiofi2018-01-14 03:40:32
iOS
hohfiofi, 2018-01-14 03:40:32

Why is CollectionVIew not showing inside ScrollView?

Why is CollectionVIew not showing inside ScrollView? The scroll works, everything is done correctly, but the CollectionView and everything inside it is not displayed at startup. The picture shows a hierarchy. What am I doing wrong?5a5aa6eb0f0ad761530758.jpeg

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
doublench21, 2018-01-14
@doublench21

Your code? Target? Wang is not here.

B
briahas, 2018-01-18
@briahas

Display the coordinates and frame of the collection view - to know where it is and what size it is.
From the received data and "dance" further: either size = 0 (constraints? content size? ..); or it is out of sight (constraints)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question