Are there any examples for how to integrate iAds into an application?

血红的双手。 提交于 2020-01-15 12:48:05

问题


I'm looking for sample code or tutorials on how to implement iAds in my iPhone application. Can anyone guide me to any resources about this?


回答1:


The iAd Programming Guide has detailed information on implementation.




回答2:


In Interface Builder just drag and drop your ad into the window. In Xcode, right click on your frameworks folder and add the iAd.framework. It's really that simple.

For more advanced things, like hiding and rotating ads, you could start with the WWDC session videos if you're a registered developer. If you're not, get an account because it's a very nice program and you need it to get your apps published.

The session 112 video is a step-by-step, I used it to get my own iAds running, but otherwise try this link iAds. You still need a developer account.



来源:https://stackoverflow.com/questions/3115920/are-there-any-examples-for-how-to-integrate-iads-into-an-application

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!