简体   繁体   中英

XIB Control click programmatically referencing outlets iAD

I have an app that I would like to run with iAD. Sadly there is no view controller in interface builder format so I will have to do it programmatically. Can you make referencing outlets through code within the view controller.

Thank you in advanced, everything is greatly appreciated!

You don't have to use IB to use iAD. Declare a UIView in your .h like @property (nonatomic, strong) UIView *adView

Synthesize it in .m

Then when you receive an ad, add it to self.adView

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM