在 iPhone 项目中实施 AdWhirl 的最佳方式
在 iPhone 项目中实施 AdWhirl 的最佳方法是什么?
- 我们将创建一个单例对象来处理 AdWhirl 并在整个应用程序中使用它。
- 或者我们是否会在要添加 AdWhirl 的每个屏幕 (UIViewController) 中创建每个 AdWhirl 对象。
谢谢
What is the best way to implement AdWhirl in iPhone project?
- Will we create a singleton object for handling AdWhirl and use it through out the app.
- Or will we create each AdWhirl object in every screen (UIViewController) we want to add AdWhirl in.
Thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以查看 AdWhirl 教程并在您的项目中实施
https://code.google.com/p/adwhirl-with-iad/downloads/detail?name=AdWhirl_pro.zip&can=2&q=
you can see AdWhirl tutorial and implement in your project
https://code.google.com/p/adwhirl-with-iad/downloads/detail?name=AdWhirl_pro.zip&can=2&q=
除非您希望在每个视图控制器中都有不同的广告,否则您应该使用 singleton,并在每次进入新的 UIViewController 时添加广告 UIView。
我不记得 adWhirl 是否为您提供了它,但如果没有,您应该以动画方式显示广告视图,以防没有可用的广告。
Unless you want a different ad in every view controller you have, you should use a singelton, and add the ad UIView each time you're entering a new UIViewController.
I can't recall if adWhirl provide it for you, but if not, you should animate the ad View out in case no ads are available.