DWIntrosPage 1.1.0

DWIntrosPage 1.1.0

DWGuidePage 维护。



  • Dwyane

DWIntrosPage

Travis Travis Travis Travis

Image text Image text Image text Image text

Introduce(项目介绍)

一个 iOS 框架,只需几行代码即可轻松创建美观强大的引导页面。

  • DWIntrosPage 同时支持静态和动态图像,且内存占用低。
  • DWIntrosPage 支持渐变切换和高度定制。
  • 然后我们将支持视频。感谢关注。

Usage(使用)

    DWIntrosPageContentViewController *page1 = [DWIntrosPageContentViewController introsPageWithBackgroundImageWithName:@"gif01"];
    DWIntrosPageContentViewController *page2 = [DWIntrosPageContentViewController introsPageWithBackgroundImageWithName:@"gif02"];
    DWIntrosPageContentViewController *page3 = [DWIntrosPageContentViewController introsPageWithBackgroundImageWithName:@"gif03"];
    DWIntrosPagesViewController *introsPage = [DWIntrosPagesViewController dwIntrosPagesWithPageArray:@[page1, page2, page3]];
//  introsPage.showPageControl = YES; //show the pageControl
//  introsPage.canSkip = YES; // show the skipButton
//  introsPage.skipButton.backgroundColor = [UIColor redColor]; //setup the skipButton
    __weak typeof(self) weakSelf = self;
    introsPage.skipButtonClickedBlock = ^{
        NSLog(@"clicked skip button");
        [weakSelf setupHomeVC];
    };

Installation(安装教程)

DWIntrosPage 通过 CocoaPods 可用。要安装它,只需将以下行添加到 Podfile 中

pod 'DWIntrosPage'

还支持在项目中安装库的方法。

社区

欢迎提问、评论、问题和拉取请求!

作者

Dwyane