开发者

How to add more than one view iPad View Controller

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜