Newbee
Newbee

Reputation: 3301

How to design menu kind of View IOS?

I need to design a view in which I want to create a sub view which should show like menu in Android, When we click menu button in Android mobile, an vertical view will pop up(that occupy part of its parent view) and it will get focus.. same thing I need to design in IOS. Do I need to create a view and add as subview, or Is there anything we can do other than that? Please suggest me some ideas for that..

thanks.

Upvotes: 1

Views: 247

Answers (2)

w0mbat
w0mbat

Reputation: 2459

Support for menus was added in iOS 13 & more in iOS 14. See UIMenu.

Upvotes: -1

Vlad
Vlad

Reputation: 3366

Add an semi-transparent UIView over your top view, on which you can place / design components as you wish, user interaction with anything below it won't be available, and you'll create the menu impression, because the user will be able to see the view below as well, even though it will be greyed out and non-usable, until you remove / hide the overlay view.

Upvotes: 2

Related Questions