ios - How can I implement Facebook Audience Network notifications in Swift? -
i loading ads, can't notifications fire.
for example;
class viewcontroller : uiviewcontroller , fbadviewdelegate { ... func adviewdidload(adview: fbadview) { print("ad loaded"); // never called, although ad displays } }
i not assigning delegate;
self.fanview = fbadview(placementid:placement_id, adsize:kfbadsizeheight50banner, rootviewcontroller:self); self.fanview.delegate = self; // needed
Comments
Post a Comment