腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(4783)
视频
沙龙
1
回答
UIPageViewController
不会
随
setViewControllers
一起
进步
、
、
、
我有一个有两个UIViewControllers的
UIPageViewController
作为孩子。我希望用户能够在子视图之间分页,但我也希望能够自动调用页面。我已经尝试过使用
setViewControllers
的每一种方法,但没有一种方法能在程序控制下推进页面。这是代码。self.delegate = self
setViewControllers</em
浏览 10
提问于2018-01-29
得票数 0
1
回答
如何在转换到
UIPageViewController
时传递参数?
、
好的,我有了我的CollectionViewController,点击它,我就会像这样转换到我的
UIPageViewController
: func collectionView(_ collectionView, navigationOrientation:
UIPageViewController
.NavigationOrientation, options: [
UIPageViewController
.OptionsKeynavigationOrientation, options: nil)
浏览 19
提问于2019-01-24
得票数 0
回答已采纳
3
回答
在旋转期间更新
UIPageViewController
时不调用完成块
、
、
、
我试图在轮换期间更新
UIPageViewController
中的当前页面,如下所示: ///
浏览 7
提问于2013-10-09
得票数 6
1
回答
UIPageViewController
(水平)在另一个
UIPageViewController
(垂直) (2轴)内
、
、
我希望2
UIPageViewController
与两个轴(垂直和水平)协同工作:self.pvcH.delegate = self; self.pvcV = [[
UIPageViewController
self.pvcH.dataSourc
浏览 3
提问于2013-10-11
得票数 0
回答已采纳
3
回答
以编程方式进行的
UIPageViewController
中间转换?
、
、
、
我知道我可以用
setViewControllers
设置下一页,但这将显示整个下一页。我在这里想要的是以编程的方式展示下一页,就像我在拖动时所做的那样。
浏览 4
提问于2015-05-07
得票数 4
回答已采纳
2
回答
当包含滚动视图时,滚动
UIPageViewController
被放大,就像苹果的PhotoScroller示例
、
、
在苹果PhotoScroller示例中,
UIPageViewController
中显示了3幅可缩放的图像。您可以缩放这些图像,并在它们之间进行页面切换,即使它们还在缩放。在苹果的版本中,
UIPageViewController
是根视图控制器(实际上是由故事板设置的)。在我的代码中,除非我将内容返回到未缩放的范围,否则
不会
得到分页行为。[pageViewController
setViewControllers
:@[pageZero] direction:=
浏览 0
提问于2014-05-11
得票数 0
回答已采纳
3
回答
UIPageViewController
setViewControllers
、
、
我可以在viewDidLoad()过程中使用
setViewControllers
方法成功地加载每个“子”ViewController。但是,当我在viewDidLoad()外部调用
setViewControllers
方法时,它
不会
更改当前的“子”ViewController。在viewDidLoad()过程中,您可以随时调用
setViewControllers
方法,或者只调用一次吗?另外,有没有办法改变页面视图控制器dataSource扩展中的变量?在ContainerView中,我有
UIPageViewContr
浏览 8
提问于2018-01-23
得票数 0
回答已采纳
12
回答
从
UIPageViewController
中删除视图控制器
、
、
、
在转换完成后,我尝试将视图控制器作为子视图控制器删除,但它仍然允许我回滚到空页(它
不会
“调整”页面视图的大小)。 我想做什么是可能的吗?
浏览 6
提问于2013-01-08
得票数 49
回答已采纳
1
回答
UIPageViewController
显示错误的数据
、
、
我的
UIPageViewController
有个奇怪的问题。我用它来显示几页数据。如果有两个以上的页面,我让用户循环它们,这意味着他将再次看到第一页时,进一步滚动在最后一页。当我取消pageController时,它会被正确地释放,并且我
不会
捕获单独显示在其中的单个控制器。我的
UIPageViewController
就是这样设置的:pageViewControl
浏览 1
提问于2018-06-15
得票数 0
回答已采纳
2
回答
添加页面时
UIPageViewController
崩溃
、
、
在我正在开发的iOS 11应用程序中(使用Swift 4),我需要动态地向
UIPageViewController
添加页面。NSInternalInconsistencyException): 2017-11-27 14:55:54.787260+0000 MyApp[380:79434] *** Assertion failure in -[
UIPageViewController
flushViewController:animated:], /BuildRoot/Library/Caches/com.apple.x
浏览 5
提问于2017-11-27
得票数 1
回答已采纳
1
回答
RTL语言controller控制器curl动画用于一个视图控制器
、
、
我需要执行
uipageviewcontroller
从右到左的转换。所以我看一下和的例子。- (UIViewController *)pageViewController:(
UIPageViewController
*)pageViewController viewControllerAfterViewControllerreturn - (UIViewController *)pageViewController:(
UIPageViewCon
浏览 4
提问于2014-10-29
得票数 0
回答已采纳
1
回答
带有动画崩溃应用程序的
UIPageViewController
、
、
但是,当我像这样设置下一个ViewController时: 谢谢!navigationOrientation: .horizontal, options:
浏览 0
提问于2018-02-24
得票数 2
1
回答
setViewControllers
不起作用
、
、
、
、
我正在尝试使用NEXT按钮来更改
UIPageViewController
的当前
UIPageViewController
。但是它不执行
setViewControllers
行。: print("Start") print(vcs[currentPage])我为此挣扎了很长一段时间编辑:可能发生这种情况是因为
U
浏览 0
提问于2018-04-24
得票数 4
回答已采纳
12
回答
UIPageViewController
,如何才能正确地跳转到特定的页面,而
不会
打乱数据源指定的顺序?
、
、
、
我发现了一些关于如何让
UIPageViewController
跳转到特定页面的问题,但我注意到了一个附加的跳转问题,似乎没有一个答案承认这一点。我声明了一个
UIPageViewController
,设置了当前的视图控制器,并实现了一个数据源。// end of the init method initWithTransitionStyle*controller = [self deque
浏览 0
提问于2012-11-30
得票数 64
回答已采纳
1
回答
为什么
setViewControllers
on
UIPageViewController
不能工作?
、
我正在设计一个
UIPageViewController
,用户可以在其中浏览各种YouTube视频。但是,我只想一次加载一定数量的视频I、视频标识符。但是,由于无法通过
UIPageViewController
的dataSource制作和返回视图控制器,在这种情况下,当用户再次滑动时
不会
发生任何事情--即使在向数组中添加了更多的视频in之后(因为dataSource已经返回了零,而且它
不会
检查两次)。请求更多的数据正常工作,当手动调用时,dataSource返回另一个viewController,但是
setViewCo
浏览 8
提问于2022-03-03
得票数 0
4
回答
刷新
UIPageViewController
-重新排序页面并添加新页面
、
、
、
、
我有一个
UIPageViewController
,我正在为使用UIPageControllerDelegate和UIPageControllerDataSource的实现提供页面数据。我如何告诉
UIPageViewController
刷新其存储的下一步内容? 同样,我想对支持页面视图的集合进行重新排序。
浏览 10
提问于2013-03-11
得票数 41
回答已采纳
1
回答
UIPageViewController
有时会在没有动画的情况下进行变换。为什么?
、
、
我有一个图书应用程序,它使用
UIPageViewController
导航它的内容。由于某些原因,有时我翻页(使用滑动手势),转换发生了,但没有动画。没有翻页动画,但新内容就在那里。#pragma mark - UIPageViewControllerDataSource Methods - (UIViewController *)pageViewController:(
UIPageViewController
NSArray *viewCo
浏览 5
提问于2012-02-08
得票数 2
3
回答
UIPageViewController
子视图控制器之间的水平填充
、
、
我使用
UIPageViewController
来显示嵌入在子视图控制器中的图像。UIPageViewControllerSpineLocationMin] forKey: UIPageViewControllerOptionSpineLocationKey];[self.pageViewController <e
浏览 5
提问于2013-12-20
得票数 12
回答已采纳
1
回答
ios5 -在横向视图中时在页面视图控制器中翻页
、
、
我在我的应用程序中使用了
UIPageViewController
和故事板。{} [self.pageViewController
setViewControllers
浏览 0
提问于2012-01-24
得票数 1
回答已采纳
3
回答
以编程方式翻页,指示器
不会
更改
、
、
、
、
我尝试了以下找到的方法
setViewControllers
nextViewController], direction: .forward, animated: true, completion:
浏览 0
提问于2016-10-27
得票数 1
点击加载更多
相关
资讯
新华社记者探访中国声谷:AI带你“话说”长江
四本精彩小说,熬夜都看不完,网友:都是粮草,给你一个月都难看完,超好看!
好消息!无人技术全面来袭!面对着无人餐厅的到来你慌了吗?
80%的人不知道,Excel单元格图片可随单元格大小而变化
薛兆丰另类视角看“随大流”:随技术发展最快,随用户最多,随产品覆盖更广
热门
标签
更多标签
云服务器
ICP备案
对象存储
云点播
实时音视频
活动推荐
运营活动
广告
关闭
领券