Is there any appropriate way to prevent a GAD/DFPBannerAdView from scrolling itself when a tap-drag is applied on it?
From the dfpshowcase sample project all but the mediation banner ad do scroll under drag, which is an unwanted default behavior. This behavior however does not appear on the android sdk for example.
if ([_bannerView.mediatedAdView isKindOfClass:[GADBannerView class]]) {
// The AdMob banner ads scroll vertically if you drag your finger across them and it looks lame.
// This disables that.
[self preventGADBannerViewBounceScrolling:(GADBannerView *) _bannerView.mediatedAdView];
}
- (void)preventGADBannerViewBounceScrolling:(GADBannerView*)bannerView {
for (UIWebView *webView in bannerView.subviews) {
if ([webView isKindOfClass:[UIWebView class]]) {
webView.scrollView.bounces = NO;
}
}
}