I have a collection view to show details of items and each item has a status or detail below it. How can i achieve this. the design is like
Asked
Active
Viewed 146 times
-1

naomi
- 227
- 1
- 2
- 9
3 Answers
2

Bhadresh Mulsaniya
- 2,610
- 1
- 12
- 25
-
I want a distance of 8 points between each item and distance of 24pts between each row respectively. minimumInternSpacing property is giving some other results. Any help. – naomi Jun 13 '16 at 10:51
-
Try with section inset. – Bhadresh Mulsaniya Jun 13 '16 at 10:56
0
In CollectionViewCell
you can do like add imageView
and below You can add Label
inside the Cell
this link for Swift..https://www.raywenderlich.com/78550/beginning-ios-collection-views-swift-part-1

subba raj
- 37
- 11
0
You need to create a custom CollectionViewCell
. CollectionViewCell
does not have default text label
as in UITableViewCell
.
Follow link How to make a simple collection view with Swift