Closed haifengkao closed 9 years ago
Without having more information about the view in frame 7, it's difficult to say what happened. If you are getting this crash a lot, make sure that the view that the ad controller is being added to is managed by a view controller. This appears to be pretty important to iAd.
It just happened again. The view is managed by root controller. How do I get more information about frame 7?
If you can reproduce this crash while attached to the debugger, that would be the preferred approach to figuring out what view that iAd is complaining does not have a view controller. You need to figure out why the order in which you are adding the ad controller makes the system think that the ad container's superview does not have an associated view controller.
My app was running on simulator for 20 mins, then it crashed.