2016-04-07 33 views
0

我想做一個介紹視圖,你可以通過頁面(分頁)滑過我的swift 2應用程序。快速分頁與故事板和不同的設計

我發現this tutorial code:

能正常工作。但問題是我必須以不同風格設計每一頁。

有沒有方法或另一個教程來設計故事板中的每個頁面?

+0

您可以使用支持分頁功能的集合視圖。 – amorbytes

+0

以及如何?有教程嗎?我第一次這樣做:/ – Stack108

+0

你可以做的是!取一個'UIContainerView'併爲其添加一個'UIPageViewController'。 https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIPageViewControllerClassReferenceClassRef/index.html https://developer.apple.com/library/ios/featuredarticles/ViewControllerPGforiPhoneOS/ImplementingaContainerViewController.html – amorbytes

回答