开发者

App Crashes when iAds is integrated. What could be wrong?

I have integrated iAds in the app.

Simulator -> Works fine.

iPhone 3G (iOS 4.2.1) - Installed from XCode -> Works fine.

iPhone 4G (iOS 4.0.1) - Tried installing Adhoc -> App crashes after 2 seconds of opening.

I have tried deleting the provisioning profiles and reinstalling them.

What could be wrong开发者_Python百科?

Please suggest.


Do you use ADBannerContentSizeIdentifierLandscape, ADBannerContentSizeIdentifierPortrait constants? Using them will crash on <4.2, use the old ADBannerContentSizeIdentifier480x32, ADBannerContentSizeIdentifier320x50 instead

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜