uicollectionview tag

12 questions


1 answers
91 views
0
Is there a way to display two types of cells (A, B) in the collection view and display the array values only in the cells of A?

As shown in the picture, there are cells with values on the label and cells without displaying anything, but in this state, 3 seems to be in the cell where nothing is displayed (indexpath.row==2).I'd ...


1 answers
104 views
0
Moving Cells in UICollectionView

I'd like to drag the cells in the collection view.In the case of table view, I think you can move rows in edit mode, but does the collection view have such a function?To the UICollectionViewDataSource...


1 answers
137 views
0
Retrieve custom cells in didSelectItemAtIndexPath

When I tap Cell in CollectionView, I am trying to implement the process such as adding subView to Cell like the camera roll in the Twitter app.That's why I wrote this.-(CameraRollCell*)collectionView:...


1 answers
99 views
0
I want to number the pictures selected in the collectionView

We are currently creating an ImagePicker feature that allows you to select multiple photos.Therefore, we have reached the point where we can display the captured photos in UICollectionView.What I want...


1 answers
65 views
0
UICollectionView cells misaligned when returned from a screen transition by show Segue

When drawing for the first time, it appears as shown in the image below, but When I return from the show screen transition, the display will be misaligned as shown below.I tried to play with the top b...


1 answers
144 views
0
UICollectionView cells misaligned when returned from a screen transition by show Segue

When drawing for the first time, it appears as shown in the image below, but When I return from the show screen transition, the display will be misaligned as shown below.I tried to play with the top b...


1 answers
103 views
0
Show number of Swift CollectionView taps

I would like to know how to count the number of taps per cell when I tap CollectionViewCell on Swift and display them in each cell.The count is from the start to the end of the application. How should...

2 years ago

1 answers
150 views
0
Scroll through collectionView to move cell's subview to another cell

When I scroll through the collectionView, the cell's subview moves to a different cell.Obtain photos of the camera roll and place them in order in the collectionview.I am writing about tapping the pla...


1 answers
101 views
0
I am creating customized cells on Swift5 but I get an error.

I'm going to use UICollectionView on swift5 and I'm going to use xlb for customized cells.I learned this module when I started Swift and made it, but I tried again to create a new app, but an error oc...


1 answers
75 views
0
Allow CollectionView cells to have different identifiers each time

Whenever cellForItemAtIndexPath is called in the CollectionView cell, I want to have a different identifier every time, but I don't know how to do it.Or is it not possible?For example, on the first sc...

- 1 - »

© 2024 OneMinuteCode. All rights reserved.