diff --git a/DemoApp-ObjC/DemoApp-ObjC/Ads/ALAutoLayoutMRecAdViewController.m b/DemoApp-ObjC/DemoApp-ObjC/Ads/ALAutoLayoutMRecAdViewController.m index 52edb064e4..145ef65fbc 100644 --- a/DemoApp-ObjC/DemoApp-ObjC/Ads/ALAutoLayoutMRecAdViewController.m +++ b/DemoApp-ObjC/DemoApp-ObjC/Ads/ALAutoLayoutMRecAdViewController.m @@ -21,8 +21,7 @@ - (void)viewDidLoad { [super viewDidLoad]; - // NOTE: MRECs will be supported in Android SDK 9.12.0 & iOS SDK 6.12.0 - // self.adView = [[MAAdView alloc] initWithAdUnitIdentifier: @"YOUR_AD_UNIT_ID" adFormat: MAAdFormat.mrec]; + self.adView = [[MAAdView alloc] initWithAdUnitIdentifier: @"YOUR_AD_UNIT_ID" adFormat: MAAdFormat.mrec]; self.adView.delegate = self; self.adView.translatesAutoresizingMaskIntoConstraints = NO; diff --git a/DemoApp-ObjC/DemoApp-ObjC/Ads/ALFrameLayoutMrecAdViewController.m b/DemoApp-ObjC/DemoApp-ObjC/Ads/ALFrameLayoutMrecAdViewController.m index e4e17533a2..949a6d1017 100644 --- a/DemoApp-ObjC/DemoApp-ObjC/Ads/ALFrameLayoutMrecAdViewController.m +++ b/DemoApp-ObjC/DemoApp-ObjC/Ads/ALFrameLayoutMrecAdViewController.m @@ -21,8 +21,7 @@ - (void)viewDidLoad { [super viewDidLoad]; - // NOTE: MRECs will be supported in Android SDK 9.12.0 & iOS SDK 6.12.0 - // self.adView = [[MAAdView alloc] initWithAdUnitIdentifier: @"YOUR_AD_UNIT_ID" adFormat: MAAdFormat.mrec]; + self.adView = [[MAAdView alloc] initWithAdUnitIdentifier: @"YOUR_AD_UNIT_ID" adFormat: MAAdFormat.mrec]; self.adView.delegate = self; // Dimensions diff --git a/DemoApp-ObjC/DemoApp-ObjC/Ads/ALInterfaceBuilderMrecAdViewController.m b/DemoApp-ObjC/DemoApp-ObjC/Ads/ALInterfaceBuilderMrecAdViewController.m index 3b15cdc479..af676a293e 100644 --- a/DemoApp-ObjC/DemoApp-ObjC/Ads/ALInterfaceBuilderMrecAdViewController.m +++ b/DemoApp-ObjC/DemoApp-ObjC/Ads/ALInterfaceBuilderMrecAdViewController.m @@ -21,12 +21,10 @@ - (void)viewDidLoad { [super viewDidLoad]; - // NOTE: MRECs will be supported in Android SDK 9.12.0 & iOS SDK 6.12.0 - // NOTE: Must set Storyboard "User Defined Runtime Attributes" for MREC ad view - // Key Path = ad_unit_id, ad_format - // Type = String, String - // Value = YOUR_AD_UNIT_ID, MREC + // Key Path = ad_unit_id + // Type = String + // Value = YOUR_AD_UNIT_ID // Load the first ad [self.adView loadAd];