开发者

Setting up a new separate navigationcontroller in my app?

开发者 https://www.devze.com 2023-03-09 15:11 出处:网络
My app runs using a navigationcontroller, but there\'s a button on the home screen which will take the user to a preferences viewcontroller. I want the preferences to open and use it\'s own navigation

My app runs using a navigationcontroller, but there's a button on the home screen which will take the user to a preferences viewcontroller. I want the preferences to open and use it's own navigation controller, so there won't be a 'back' style button and it'll slide up from the bottom (like a mo开发者_开发问答dalviewcontroller). How do i add a separate navigation controller to my preferences screen for this to work?


You should be able to create your navigation controller and present it modally - this post is mostly what you might do first.

Remember to account for dismissing the modal view controller with say a Close or Done button in the navigation bar.

0

精彩评论

暂无评论...
验证码 换一张
取 消