skip to Main Content

Ios swift – How to set correct tintColor with selected but not focused UICellAccessory.customView

In a UICollectionView within a UISplitViewController layout, I have a UICollectionView.CellRegistration that shows under certain conditions a warning badge as UICellAccessory. This warning badge accessory is based on the following code: func warningBadge(cell: UICollectionViewListCell) -> UICellAccessory { return UICellAccessory.customView(configuration: .init(customView:…

VIEW QUESTION
Back To Top
Search