开发者

How to add more than one view iPad View Controller

开发者 https://www.devze.com 2023-03-06 17:02 出处:网络
I am making a simple application and will require to actually load different views on a button click.

I am making a simple application and will require to actually load different views on a button click.

The thing is I want to separate the code for each view into it's own class as I don't want it all put into one controller.

Can anyone tell me the best way to do this and also the possibility to show how to switch between view开发者_如何转开发s?

Thanks


Have a look at UITabBarController. Assign a view controller for each tab and it should behave as you want. There are quite a few tutorials on creating it. You can look at this.

0

精彩评论

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