if (ios_Vewsion_5_Or_Above) {
_scrollView.bounces =
NO;
} else {
for (id subview
in _scrollView.subviews)
if ([[subview
class] isSubclassOfClass: [UIScrollView
class]])
((UIScrollView *)subview).bounces =
NO;
}
时间: 2024-11-08 23:39:40
if (ios_Vewsion_5_Or_Above) {
_scrollView.bounces =
NO;
} else {
for (id subview
in _scrollView.subviews)
if ([[subview
class] isSubclassOfClass: [UIScrollView
class]])
((UIScrollView *)subview).bounces =
NO;
}