@property(nonatomic, retain) UIViewController *viewController;
synth the getters and setters (in the .m file)
@synthesize viewcontroller;
and use the dot syntax to access it.
self.viewController
This will release the old controller if one exist and ensure that the object is still around when the Nav Controller needs it to be.
Subscribe by Email
Follow Updates Articles from This Blog via Email
No Comments
comments