gpt4 book ai didi

ios - swift iOS : UIPageController inside UINavigation controller

转载 作者:行者123 更新时间:2023-11-29 01:42:40 25 4
gpt4 key购买 nike

我正在构建一个基于 UINavigation Controller 作为主要入口的应用。

我想在导航中添加一个带有 UIPageController(点)的迷你教程,但我能找到的所有文档都显示了如何将 UIPageController 用作应用程序的主要入口。

当我尝试将常用代码放到从 UINavigation Controller 访问的自定义分类的 ViewController 页面上时,(而不是在主 ViewController 上)它不起作用。

正在寻找有关在何处查找此类内容的建议或提示。

目前正在使用 Xcode 7.0 和 Swift。

最佳答案

使用 UIPageViewController 将在 UINavigationController 中工作,并且在 Interface Builder 控制台中将 UIPageViewController 设置为“Horizo​​ntal Scroll”将允许它充当虚线教程样式的页面进程。

关于ios - swift iOS : UIPageController inside UINavigation controller,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32236627/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com