腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(3982)
视频
沙龙
1
回答
UIPageViewController
;如何处理动态变化的数据源
、
因此,我认为
UIPageViewController
是一个很好的方法,最初只设置一个启动视图控制器来表示“欢迎”; [self
setViewControllers
:@[welcomeViewController- (UIViewController *)pageViewController:(
UIPageViewController
*)pageViewController viewControllerAfterViewController但是,当我说“不,没有先前/下一个视图.”时,
UIPageViewControll
浏览 4
提问于2014-04-15
得票数 2
1
回答
UIPageViewController
更新页数
、
、
嘿,伙计们,我想看看有没有人知道如何更新
UIPageViewController
中的页面数- (NSInteger)presentationCountForPageViewController:(
UIPageViewController
*)pageViewController {}有人知道如何为
UIPageViewControlle
浏览 0
提问于2017-05-01
得票数 2
回答已采纳
3
回答
UIPageViewController
setViewControllers
、
、
我可以在viewDidLoad()过程中使用
setViewControllers
方法成功地加载每个“子”ViewController。但是,当我在viewDidLoad()外部调用
setViewControllers
方法时,它不会更改当前的“子”ViewController。在viewDidLoad()过程中,您可以随时调用
setViewControllers
方法,或者只调用一次吗?另外,有没有办法改变页面视图控制器dataSource扩展中的变量?在ContainerView中,我有
UIPageViewController</em
浏览 8
提问于2018-01-23
得票数 0
回答已采纳
1
回答
如何在转换到
UIPageViewController
时传递参数?
、
好的,我有了我的CollectionViewController,点击它,我就会像这样转换到我的
UIPageViewController
: func collectionView(_ collectionView, navigationOrientation:
UIPageViewController
.NavigationOrientation, options: [
UIPageViewController
.OptionsKeynavigationOrientation, options: nil)
浏览 19
提问于2019-01-24
得票数 0
回答已采纳
1
回答
访问
UIPageViewController
的最后一个元素
如何访问
UIPageViewController
的最后一项,以便将self设置为它的委托?
浏览 4
提问于2019-11-18
得票数 0
回答已采纳
2
回答
UIPageViewController
和
setViewControllers
:
、
、
在设置
UIPageViewController
时,我很难理解这一行代码: }]; 在我看到的大多数示例中,只有一个UIViewController被传递到
setViewControllers
中,然后使用(UIViewController *)pageViewControll
浏览 2
提问于2015-05-26
得票数 2
回答已采纳
1
回答
UIPageViewController
中的奇异约束行为
、
、
、
、
在故事板中,我有没有导航条的UINavigationController和有两个子
UIPageViewController
的根视图控制器
UIPageViewController
:和。MainPageVC是
UIPageViewController
的一个简单子类,我刚刚设置了 [self
setViewControllers
:@[loginVC] direction:UIPageViewControllerNavigationDirectionForward但是,当我第一次看到状态栏中的为20时,只有当我进入
UIPag
浏览 6
提问于2015-05-18
得票数 0
回答已采纳
1
回答
UIPageViewController
的
setViewControllers
方法的动画持续时间是多少?
、
、
我想知道如何获得此方法的动画持续时间:
setViewControllers
(_ viewControllers: [UIViewController]?
浏览 5
提问于2016-11-10
得票数 2
回答已采纳
1
回答
如何回到已删除的PageViewController条目/更改PageViewController条目
、
、
func pageViewController(pageViewController:
UIPageViewController
, return vc return nil func pageViewController(pageViewController:
UIPageViewController
到
UIPageViewController
的UI
浏览 2
提问于2016-05-07
得票数 1
回答已采纳
3
回答
在旋转期间更新
UIPageViewController
时不调用完成块
、
、
、
我试图在轮换期间更新
UIPageViewController
中的当前页面,如下所示: [self.pageController
setViewControllers
如果它是
UIPageViewController</e
浏览 7
提问于2013-10-09
得票数 6
1
回答
在
UIPageViewController
中如何在查看控制器之后、之前删除?
、
我需要删除
UIPageViewController
中所有缓存的前后视图控制器,以便在用户滚动
UIPageViewController
时创建新的前后视图控制器。*我附上了我的代码的简化版本。class ViewCalendarPageVC:
UIPageViewController
{ var targetViewCalendarVC: ViewCalendarVC2?
setVie
浏览 4
提问于2019-11-14
得票数 0
回答已采纳
1
回答
如何从DataViewController中正确地翻转
UIPageViewController
页面?
、
、
、
我希望能够将我的
UIPageViewController
作为特定页面上事件的结果。在Xcode中使用Page View模板,实现这一点的正确方法是什么?我在考虑让DataViewController和ModelController在RootViewController中包含对
UIPageViewController
的引用,然后使用(
UIPageViewController
*)
setViewControllers
方法,但这似乎很草率。
浏览 3
提问于2012-04-07
得票数 0
回答已采纳
2
回答
如何在页面视图控制器的最后一页后跳转到另一个视图控制器
、
、
我正在尝试使用页面视图控制器制作一些教程页面,我希望它在用户滑动教程的最后一页后自动跳转到另一个视图控制器。我实现了viewControllerAfterViewController方法,如下所示: [self performSegueWithIdentifier:@"toHelp" sender:self]; } return [self viewControllerAtIndex:index+1
浏览 2
提问于2015-08-19
得票数 0
1
回答
UIPageViewController
中的SwiftUI scrollViewDidScroll无法正常工作
、
、
> Coordinator { } let pageViewController =
UIPageViewController
( pageViewController.
setViewCo
浏览 0
提问于2020-03-11
得票数 2
2
回答
在PageViewController中打开特定的视图控制器
、
、
、
、
到目前为止,下面是我的代码,我的3个视图控制器:UIPageViewControllerDelegateif let firstViewController = orderedViewControllers.first{
setViewControllers
([firstViewControllerinstantiateViewController(withIdentifier: viewCo
浏览 1
提问于2018-10-26
得票数 1
回答已采纳
1
回答
具有不同ViewControllers的
UIPageViewController
、
、
、
我想使用带有两个按钮(next和preve)的
UIPageViewController
来显示具有不同内容的7个视图控制器,这是我在实现
UIPageViewController
后的故事板。我的问题是如何将这些视图控制器放入
UIPageViewController
中?
浏览 17
提问于2017-02-10
得票数 2
2
回答
swift:
UIPageViewController
动作
、
我有
UIPageViewController
和这段代码可以翻转我的页面: pageController.dataSource = self pageController
浏览 0
提问于2018-07-22
得票数 0
回答已采纳
1
回答
基于IOS页面的应用程序:如何跳转到另一个页面
、
、
我是新来的,需要一些帮助。我启动了新项目,在Interface (Main_iPhone.storyboard)中添加了一个按钮,将其连接到DataViewController.m中的一个方法,并添加了以下代码:DataViewController *myCurrentPage = [
浏览 1
提问于2016-05-05
得票数 1
回答已采纳
1
回答
iOS
UIPageViewController
SetViewControllers
参见
、
、
我正在创建一个项目,它上面有一个
UIPageViewController
和选项卡。我想使用Tabs导航,所以我知道我可以使用
SetViewControllers
(controller, ...)跳转到另一个选项卡。
浏览 0
提问于2018-12-01
得票数 0
回答已采纳
2
回答
Swift:用Button.setTitle更新UIPageView和当前NSNotification
、
、
有两件事需要更新 我如何更新这两件事?
浏览 2
提问于2019-02-01
得票数 2
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
热门
标签
更多标签
云服务器
ICP备案
腾讯会议
云直播
对象存储
活动推荐
运营活动
广告
关闭
领券