Skip to content

Commit

Permalink
Revert "MRECs will be supported in Android SDK 9.12.0 & iOS SDK 6.12.0"
Browse files Browse the repository at this point in the history
This reverts commit 97461b4.
  • Loading branch information
tiandrew committed Jan 28, 2020
1 parent c6e46bf commit 21163ac
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 21163ac

Please sign in to comment.