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

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -