[Solved] Can someone help me convert this OBJ-C code to Swift?


This should work, let me know if any trouble

override func viewDidLoad() {
    super.viewDidLoad()
    let adView: FBAdView = FBAdView(placementID:PLACEMENT_ID, adSize:kFBAdSizeHeight50Banner, rootViewController:self);
    adView.loadAd();
    self.view.addSubview(adView);
}

1

solved Can someone help me convert this OBJ-C code to Swift?