Я разрабатываю приложение iOS с UICollectionView, и я бы хотел, чтобы пользователи могли выбирать несколько элементов в этом представлении. Кажется, что стандартный стиль флажка Apple использует в подобной ситуации. Например, на изображении ниже вы можете увидеть его при выборе нескольких фотографий в общем листе.
В соответствии с documentation вы отвечаете за обновление пользовательского интерфейса ваших ячеек, чтобы отразить их состояние выбора. Я знаю, что в UITableViewCell вы можете установить свойство accessoriesType, чтобы добавить галочку, но я не могу найти эквивалент для UICollectionViewCell.
Есть ли способ, которым Apple предоставляет эту галочку в моем приложении, помимо попытки вырвать этот значок из скриншота?