简体   繁体   中英

Scroll View on Header View of Table view controller

I am implementing a Table View with a short cut menu on header view of the tableview. the example i have is almost close to the screen shot below.

在此处输入图片说明

But i have implemented a simple header view on table view with menu, in this case the header view just have one set of menu and not scrollable vertically. but i would like to add the scrollable component so can accommodate more than just 8 icons.

here is a picture of what i have done

在此处输入图片说明

Any help advice will be great ! if some examples will be greatly appreciated.

只需将UICollectionView放在tableViewHeader中即可。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM