具体代码的实现:
for(id subview in webview.subviews)
{
if([[subview class] isSubclassOfClass:[UIScrollView class]])
{
((UIScrollView*)subview).bounces=NO;
}
//After iOS 5
webview.scrollView.bounces=NO;
}
具体代码的实现:
for(id subview in webview.subviews)
{
if([[subview class] isSubclassOfClass:[UIScrollView class]])
{
((UIScrollView*)subview).bounces=NO;
}
//After iOS 5
webview.scrollView.bounces=NO;
}