How do I get the selected items from a UICollectionViewController?

Hey guys,

I've created a screen which subclasses UICollectionViewController and provided data to it via the GetCell method. This control also has AllowMultipleSelection enabled. Everything works well. The issue now is, when segue-ing to the next screen, how do I know which of the items in the collection view were selected?

I looked through the docs for a collection of selected items and nothing obvious sprang out. I saw there was a ItemSelected/Deselected method I can override to maintain this manually, but that seems rather long winded.

Is there something I'm missing?

Best Answer

Answers

  • BenHoganBenHogan GBMember

    I suspected that would be the case. Thanks for your help.

Sign In or Register to comment.