简体   繁体   中英

Simple menu in IOS - (objective-c or swift)

Im trying to understand how does the mobile development works. I want to do a common view to different views. My idea is to make a menu... but i cant manage to make it work properly. Explaining it fast would be, as i said, a view created in my Storyboard that i can call, programatically, from any view that i want. I want to be able to move around without warnings. Should i use UINavigationViewController? This is the custom menu i want to create :

我调用的菜单的图像视图 当我按箭头(或橙色部分)时,我打开菜单,我可以去任何我想要的地方

Yes you should use a UINavigationController . If you drag one out in StoryBoard, it will automatically make the first child, a UITableViewController , which is what you picture above.

There's still a lot you need to know to put all the pieces together but that's how you start, and use a tutorial like this to come up with a more specific question that won't get downvoted. :-)

http://www.appcoda.com/use-storyboards-to-build-navigation-controller-and-table-view/

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