Skip to main content
0 votes
1 answer
35 views

How to show only one cell at a time in a horizontally scrolling UICollectionView (tvOS)

I’m building a tvOS app that uses two UICollectionViews: The top collection view acts as a banner displaying information related to the item currently focused in the bottom collection view. The ...
Number One's user avatar
0 votes
0 answers
36 views

Scrolling issues with nested CollectionViews in .NET MAUI

In one of my pages of my .NET MAUI 8 application, I provide a search functionality. At the top of the ContentPage, there are a few controls to set search parameters, followed by a button to do the ...
BeRo's user avatar
  • 153
0 votes
2 answers
57 views

UITableView with UICollectionView cell: How to determine cell height at initialization?

I have a UITableViewController with UITableViewCells containing a UICollectionViewController. Each UICollectionViewController, also contains a cell containing a UIViewController of varying size. ...
Erzie's user avatar
  • 1
0 votes
0 answers
23 views

UICollectionViewCell Shows Shadow and Background After Drop (Drag & Drop Issue)

I am implementing drag-and-drop functionality in a UICollectionView with a 2x2 grid of buttons. My goal is to remove the cell's shadow and background color when dragging. However, after dropping the ...
Daniel's user avatar
  • 365
0 votes
0 answers
22 views

Collection View Layout Incorrectly Updates with Navigation Bar

In MemoryViewController I am setting up the collectionView layout in setup(), but this occurs before the view's insets have been set, including the required spaces for the navigationController. ...
brunshte's user avatar
  • 329
0 votes
0 answers
37 views

iOS - Swift - UICollectionView inside UITableViewCell do not scroll after first show

I have this class: class SectionCellRowCollection: UICollectionView, UICollectionViewDataSource, UICollectionViewDelegate { required init?(coder aDecoder: NSCoder){ fatalError("...
Martin Perry's user avatar
  • 9,537
0 votes
2 answers
87 views

CollectionView.Header hidding everytime EmptyView is showing up

I don't know why the collectionView header hides automatically when my empty views is showing the content, except at the beginning. When i fill the CollectionView for first time, it works perfectly, ...
David Picazo's user avatar
1 vote
2 answers
34 views

UICollectionViewCompositionalLayout masonry like with different row and column spans for swift

I'm working on a native iOS app and need to implement a layout for a presentation widget in Swift. For this I have the following design concept: The cells should not be arranged in rows, but rather ...
metamagikum's user avatar
  • 1,368
0 votes
0 answers
35 views

How to Detect Scroll Completion Before Calculating Frame?

How to Detect Scroll Completion Before Calculating Frame in Swift (iOS)? I am working on an iOS application where I have a screen containing both a UICollectionView and a UITableView. The ...
Hakan Or's user avatar
0 votes
0 answers
51 views

Animating performBatchUpdates in UICollectionView - how to remove the fade style?

I have a typical ... "user selects one row, all other rows go away, there is now only one row in the data source, the row's new position is (obviously) now the top and only row: row X slides up ...
Fattie's user avatar
  • 11.7k
0 votes
0 answers
35 views

collectionView(_:shouldBeginMultipleSelectionInteractionAt:) unexpectedly called for trackpad click

In my collection view, I want to be able to do a two-finger swipe to initiate edit mode and begin selecting rows. I do this by setting allowsSelectionDuringEditing and ...
Uncommon's user avatar
  • 3,413
0 votes
0 answers
25 views

CollectionView change scroll position when cell expanding using diffable datasource

I am using a diffable datasource with a compositional layout. My CollectionView has expandable cells. When I try to update the cell's expanded state using applySnapshot with animation, the ...
Dyachenko's user avatar
-1 votes
1 answer
115 views

How to fix animation hitch in collection view?

I have a collection view. When I touch the cell, the animation from the collection view cell class CarouselCell playing. When I press on a cell, the process of downloading the file begins in the ...
User's user avatar
  • 195
0 votes
0 answers
24 views

Collectionview drop animation bug when reordering cells

I'm having trouble implementing a smooth drop animation when reordering cells in my UICollectionView. Currently, when I drop an item into a new position, the original cell at sourceIndexPath briefly ...
Croplay's user avatar
0 votes
0 answers
35 views

UICollectionView with UICollectionViewCompositionalLayout scrollToItem doesn't work

I have horizontal UICollectionView with UICollectionViewCompositionalLayout and orthogonalScrollingBehavior = .groupPagingCentered, created like this: private lazy var compositionalLayout = ...
ArisRS's user avatar
  • 1,404

15 30 50 per page
1
2 3 4 5
958