Giter Club home page Giter Club logo

dnpageview's Introduction

DNPageView

##引导页简单使用

###功能介绍

大多数应用的首次安装都会出现引导页见面,简单介绍应用内容或者是对应用的几张简介图

###使用说明

引入头文件 #import "DNPageView.h"

在AppDelegate中添加引导页代码

修改一下DNPageView.m中的imageNameArr数组中的图片名字然后就可以调用下面的代码

 [[DNPageView sharePageView] initPageViewToView:self.window dismiss:^{
        //引导页看完了要执行的操作(通常是记录key值保证下次启动不在加载引导页)
  }];

引导页默认是添加了UIPageControl小圆点的,如果你的引导页图片上有小圆点的话可以把类中的小圆点隐藏,还是一句话哦

[DNPageView sharePageView].isPageControl = NO;

按照封装类中图片命名格式添加图片,设置引导页的个数,设置的个数不要超过你所拥有的图片数量

[DNPageView sharePageView].pageNum = 2;

就这些东西了,是不是很简单呢,好了就这些了,具体代码看看demo就可以了

dnpageview's People

Contributors

626600815 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.