I need a UICollectionViewListCell
that works like a cell with UICellAccessory.OutlineDisclosureOptions(style: .header)
, but without an accessory itself. I would like my cell to be a completely custom View with no extra arrows and images that toggles the expansion state of the item
Documentation referring .header
option:
When using this style, a tap anywhere in the header toggles the expansion state of the item. The cell itself is not selectable when using this style
Code snippet:
let cellDisclosureOption = UICellAccessory.OutlineDisclosureOptions(style: .header)
cell.accessories = [.outlineDisclosure(options: cellDisclosureOption)]
I already have a custom UICollectionViewListCell
, which fully meets my needs, and only thing i need it to hide this crappy arrow or make a custom UICellAccessory.CustomViewConfiguration