Skip to content

Seeking Guidance on UICollectionViewController Issue with Long Press Interaction #1

@yccheok

Description

@yccheok

Hi Briancoyner,

Thank you for generously sharing your techniques on reordering, context menus, and dynamic layouts in iOS development. Your insights have been invaluable in navigating the complexities and inherent bugs in iOS.

I’m planning to use your code as a foundation for a UICollectionViewController solution. However, I encountered an issue that I’d like to discuss.

I have forked your repository and made the following changes - yccheok@c67288e

In my implementation, during the first long press, the selected item becomes blurred instead of appearing in a pop-up style, as shown in this video.

Screen.Recording.2023-12-03.at.12.04.55.PM.mov

Could this be a bug in UICollectionViewController, and do you know of any possible workarounds? I'm specifically using UICollectionViewController to integrate with UISearchController, aiming for smooth scrolling and animation, as discussed in this Stack Overflow thread: UICollectionView + UISearchController - How to achieve smooth scrolling animation when hiding search bar?

Any feedback or suggestions you could offer would be greatly appreciated. Thank you once again for your invaluable code and insights.

Best regards,
yccheok

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions