使用页面控件为我的 iOS 应用创建教程
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/18215303/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Creating a tutorial for my iOS app with page control
提问by Bob Yousuk
I'm trying to create a tutorial for my application with Page Control
. I'm not entirely sure how to go about creating this tutorial view, and was hoping somebody could provide some advice or point me to a tutorial. I've been researching for several days now but haven't come across any relevant solutions...
我正在尝试为我的应用程序创建一个教程Page Control
。我不完全确定如何创建这个教程视图,希望有人可以提供一些建议或给我指点教程。我已经研究了几天,但还没有遇到任何相关的解决方案......
I'm essentially wondering what UI Elements
this uses? A page control
+ UINagivationController
or UIViewController
?
我基本上想知道UI Elements
这有什么用?一个page control
+UINagivationController
或UIViewController
?
回答by ddevaz
Here is a step by step tutorial for what you want to do: http://www.appcoda.com/uipageviewcontroller-tutorial-intro/
这是您要执行的操作的分步教程:http: //www.appcoda.com/uipageviewcontroller-tutorial-intro/
The above tutorial shows how to create a UIPageViewController using Interface Builder. The tutorial was rewritten to make it compatible with iOS 7 and Xcode 5 and to use Storyboard. You can find the updated tutorial at this link: http://www.appcoda.com/uipageviewcontroller-storyboard-tutorial/
上面的教程展示了如何使用 Interface Builder 创建 UIPageViewController。重新编写了本教程以使其与 iOS 7 和 Xcode 5 兼容并使用 Storyboard。您可以在此链接中找到更新的教程:http: //www.appcoda.com/uipageviewcontroller-storyboard-tutorial/
If you're open to using third party libraries there are several options:
如果您愿意使用第三方库,有几种选择:
https://github.com/MatthewYork/iPhone-IntroductionTutorial
https://github.com/MatthewYork/iPhone-IntroductionTutorial
https://github.com/icepat/ICETutorial
https://github.com/icepat/ICETutorial
https://github.com/ealeksandrov/EAIntroView
https://github.com/ealeksandrov/EAIntroView