In my main view controller, an NSTimer calls the function after a specified delay:
Code> - (zero) showAdView {[self display CPU with identifier: @ "Showed SEGU" Sender: zero]; }This modally presents
MyAdViewController , and give me theMyAdViewController class toMyAdViewControllerDelegate protocol, so that Can I apply aadViewDidFinish function to my main view controller?Is it possible to create a new instance of
MyAdViewController in the main view controller without?
You can do the following:
- (zero) Prepare ForSegue: (UIStoryboardSegue *) Segu Sender: (ID) sender {{segue.destinationViewController setDelegate: self]; }To work for this, you have to include your controller header file in the view controller to execute the SGU and also the PR property of your
MyAdViewController Adding to the class header file.
Comments
Post a Comment