简体   繁体   中英

How to make a menu like Hotstar application

How should I go about creating a menu like in Hotstar, where one can make a half swipe on the menu below the navigation bar? I suppose using a container rather than carousel view would be more suitable.

I am including a Hotstar app screenshot to illustrate my intent:

NOTE: I am not looking for frameworks implementing the drawer / side menu.

在此处输入图片说明

What you're looking for here, in fact, is a sliding tab bar . The philosophy of the UI element you describe is that it switches content (with or without animations - that's up to your preference/taste).

For start, I can point you to M13InfiniteTabBar or ZRScrollableTabBar but I'm sure there are many others (these are the ones I had the chance to try out). Both of them are implemented in Objective-C as you marked in the tags.

Of course they are not exactly what you showed in terms of design, but they aren't hard to customize.

Are you looking Like this side menu

https://github.com/mikefrederick/MFSideMenu

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