Имеете два заголовка в UICollectionView?
У меня есть UICollectionView, который использует макет потока, который также имеет верхний и нижний колонтитул:
---------
| head |
---------
| A | B |
---------
| C | D |
---------
| foot |
---------
Иногда я хотел бы иметь два заголовка, например:
---------
| head1 |
---------
| head2 |
---------
| A | B |
---------
| C | D |
---------
| foot |
---------
Я зациклился на том, как добиться этого. Кажется, что только макет потока имеет одну голову и одну ногу. Как добавить второй заголовок?
edit: Я также реализовал липкие заголовки - http://blog.radi.ws/post/32905838158/sticky-headers-for-uicollectionview-using - но я хочу, чтобы первый заголовок был липким. Вот почему я не могу просто включить все в один заголовок.