开发者

Add a ViewController to a view inside a Window based application

开发者 https://www.devze.com 2023-01-15 16:10 出处:网络
Ok this is an easy one for most of you and a pretty basic question, but I quite don\'t get the full concept yet .

Ok this is an easy one for most of you and a pretty basic question, but I quite don't get the full concept yet .

I've got a window based application, it contains 2 views, so far s开发者_开发技巧o good, everything is working but now I`m trying to do a modalTransition, which requires a ViewController ( which I don't have ) . What is the best way to attach a ViewController to one of those existing views in my Window so I can start playing with ModalTransitions ?

Thanks !


You should declare your navigation controller to your AppDelegate. There is a good video tutorial in Youtube which combines navigation controller and tab bar, check it if you want:video

0

精彩评论

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