How to work with iAds using xcode 3.1.3

前端 未结 2 2050
悲哀的现实
悲哀的现实 2021-01-26 11:56

Presently I am Working With Integrate iAds and make a lite version of the app. My Problem is Previously I am working with iAds is xcode 4.1.3 but Presently I was used xcode 3.1.

2条回答
  •  我在风中等你
    2021-01-26 12:06

    First, even in the newest versions of iOS, ADBannerContentSizeidentifier320x50 is no longer the preferred constant. Use ADBannerContentSizeIdentifierPortrait instead.

    But I think the real issue here is that Xcode 3.1.3 is too old to include the iAd framework. It was first included in iOS4 and so won't be there in anything older. Your choices therefore are:

    • Use a newer version of Xcode (and iOS)
    • Don't use iAds. There are other ad networks such as AdMob that still support older devices

提交回复
热议问题