【发布时间】:2014-11-10 21:00:34
【问题描述】:
我想禁用滚动 UIPageViewController 直到 webview 在 ViewController 中加载。 加载 webview 后,在 PageViewController 中启用滚动。 我用:
for (UIScrollView *view in self.pageViewController.view.subviews) {
if ([view isKindOfClass:[UIScrollView class]]) {
view.scrollEnabled = NO;
}}
但这会永远禁用滚动。
请帮帮我!
【问题讨论】:
标签: ios xcode uiwebview scroll uipageviewcontroller