Reputation: 61
I have created the initial view for my application. This initial view contains segues to new screens/view controllers that I threw together in the Xcode storyboard.
I set audio controls, and background paramaters to my applications initial view using the standard Viewcontroller.h
and Viewcontroller.m
files that load out when Xcode starts.
My question: how do I programmatically access new viewcontrollers? I.e. 'make a new target' or 'click and drag in interface builder' or something...
Upvotes: 0
Views: 1880
Reputation: 1488
Lets say your viewcontroller is called newViewController,
1.drag and drop a view controller
3.add the name of it in your interface builder under "custom class" and your .h and .m files will both be connected.
Upvotes: 1