Created
February 3, 2015 07:59
-
-
Save JohnnyTseng/a7dcc06d273180ca5ef8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
self.adView = [[MPAdView alloc] initWithAdUnitId:@"62a209a4f9764ffcb711b7fac2010d16" size:CGSizeMake(1024, 90)]; | |
self.adView.delegate = self; | |
self.adView.frame = CGRectMake(0, 0, 1024, 90); | |
[self.adView loadAd]; | |
[self.view addSubview:self.adView]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment