Regarding the advertisement question, the domestic possibility water is very deep, the data is on, the direct saying adds the SDK
1, add the following framework
CoreMedia. FRAMEWORDK,
CORETELEPHONY.FRAMEWORDK,
AUDIOTOOLBOX.FRAMEWORDK,
MEDIAPLAYER.FRAMEWORDK,
MESSAGEUI.FRAMEWORDK,
Storekit.framework,
MediaPlayer,
Eventkitui,
Eventkit,
Adsupport.framework This library to note that the Apple backstage to set the library black I have been so many times
2, add the SDK to the project, http://download.csdn.net/detail/a287971/8338719
3,
#import "GADBannerView.h" Gadbannerview *bannerview_;
Bannerview_ = [[Gadbannerview alloc] initwithframe:cgrectmake (0.0, self.view.frame.size.height-113, Gad_size_320x50.width, Gad_size_320x50.height)]; Bannerview_.adunitid = @ "ca-app-pub-4604023153892773/4960498111"; Here's your own <pre name= "code" class= "html" >adunitidbannerview_.rootviewcontroller = self; [Self.view Addsubview:bannerview_]; [Bannerview_ loadrequest:[gadrequest request]];
4, other linker Flags set to-OBJC
5,run look at the effect
IOS joins GOOGLE ads 2 minutes to join