ios - 是否可以在 UIPageViewController 中使用 UIRefreshControl
问题描述
我有一个垂直显示 ViewControllers 的 UIPageViewController。但是,当用户使用 UIRefreshControl 在 UIPageViewController 中的顶部 ViewController 上向下滑动时,我需要刷新内容。这可能吗?我尝试使用 UIPageViewController 中内置的 UIScrollView,但我还没有成功。
我正在使用 Xamarin iOS,但在 swift 或 Objective-c 中的答案也同样有效。
解决方案
推荐阅读
- ios - 如何快速创建弹跳效果?
- awk - 从每一列中删除重复的字符串
- java - 创建一个基本的 java Swing GUI
- sql-server - SQL Server 或 SQL 查询或两者都有问题
- python - Python根据键值对的字典制作项目列表,但值必须是正则表达式模式
- python - 为什么 NN 训练损失会变平?
- pandas - 如何解决此归因错误 AttributeError: 'DataFrame' object has no attribute 'as_matrix' (使用 Python 3.8)
- c# - 将原始 c# 程序输出重定向到 Xunit 输出
- css - BEM 样式类名称的嵌套深度指南
- angular - 它给了我一个错误 404 Not Found Angular