how to set iAds so the application does not crash on older OS (3.0 - 3.2)
A:
I suppose you need to do 2 things (hope I haven't missed anything):
- Link with iAd framework as 'weak': Target->Info->Linked Libraries -> Set library type as weak
Check if iAd classes are present in run-time before use them e.g.:
Class adBannerClass = NSClassFromString(@"ADBannerView"); if (adBannerClass) // Work with banner
Vladimir
2010-08-08 21:06:29