So following http://www.techotopia.com/index.php/Creating_an_Interactive_iOS_4_iPhone_App, I’m doing the tutorial in a tabbed application template which the same thing, I have a button in the FirstViewController.xib and in the .h file, i declared a -(IBAction) selectedRow; which by clicking i’m suppose to show an alert to the user. But the problem comes from the IB where I can’t right click drag, or ctrl drag or even drag the event to the File’s Owner to see the action. If I do this in a single view application, it works! am i missing something here?
So following http://www.techotopia.com/index.php/Creating_an_Interactive_iOS_4_iPhone_App , I’m doing the tutorial in a tabbed application template which
Share
I think the file’s owner class is not set, so IB doesn’t know which is the view controller and what are its actions.
Modify the Class parameter in file’s owner from
UIViewControllerintoFirstViewController, to the correct name of your view controller.