I have a project built off the classic Master Detail template provided out of the box by Xcode. I am trying to incorporate the iAdSuite BannerViewController with out much success.
I have added BannerViewController.m & .h to my project, but I'm struggling to get my app to invoke the viewDidLoad
in BannerViewController
. I've been through the TabbedBanner
sample pretty extensively and still don't see where BannerViewController
is "tied" in.
Tried adding BannerViewController as a child view controller
BannerViewController *vbc = [[BannerViewController alloc] init];
[navigationController addChildViewController:vbc];
This code produces a tragic ending.
Any insight into this sample code or hints where to find additional info on using a shared banner would be appreciated.