你可以试试这个:
for (id subview in YourWebView.subviews){ if ([[subview class] isSubclassOfClass: [UIScrollView class]]) ((UIScrollView *)subview).bounces = NO; }