Crash with iAd only on iOS 7 - weak delegate is bad pointer
问题 I'm getting a strange crash with the iAd error callback. Here is my crash log: Exception Type: EXC_BAD_ACCESS Code: KERN_INVALID_ADDRESS at 0x2281 0com.apple.main-thread Crashed 0 libobjc.A.dylib objc_retain + 17 1 YouDoodle AdView.m line 265 -[AdContainerView requestGAD] 2 iAd -[ADBannerView _forwardErrorToDelegate:] + 254 3 iAd -[ADBannerView serverBannerViewDidFailToReceiveAdWithError:] + 178 4 iAd -[ADAdSpace setServiceAdSpace:] + 472 5 CoreFoundation __CFNOTIFICATIONCENTER_IS_CALLING_OUT