UIViewControllers - TabBarApplication - iPhone SDK

Posted by Kevin on Stack Overflow See other posts from Stack Overflow or by Kevin
Published on 2010-05-01T00:46:24Z Indexed on 2010/05/01 0:57 UTC
Read the original article Hit count: 364

Hello everyone,

I am very new to the iPhone SDK. I need to know if in a tab bar application I need to make UIViewController classes. For example, when I make a new tab bar application there is a default FirstViewController class (.h, .m) already there. Now if I have code on the second tab, would I need to create a SecondViewController class? If not, how would I make a button on the 2nd tab, and make that button do something. I'm not really sure how to do it, because the FirstViewController works with the buttons and code, but if I make a SecondViewController, and I link everything my app crashes.

If anyone could help it would be greatly appreciated.

Kevin

© Stack Overflow or respective owner

Related posts about iphone-sdk

Related posts about uiviewcontroller