Each onboarding experience is comprised of two primary components, the background and the content pages. The background includes the static background image/video, the page control, and the skip button. The content pages are made up of four pieces, an image/icon, title, body, and action button. Create individual pages by creating instances of OnboardingContentViewController. Provide a title, body, image, text for an action button, and within the action block handle whatever you want to do when the users press the button. If you don't want a button, you can leave both the button text and action handler nil. Then create the OnboardingViewController by providing either a background image or a URL to a local video file in your project, and an array of content view controllers you just created. You can then present the view modally and get the onboarding process started!
Features
- Blurring, masking, and fading options available
- By default, the image you use for the background will have a mask applied over it
- Apply a fade effect to the icons, text, and buttons, while transitioning between pages
- We can also apply a blur to your background image
- Automatically move users to the next page in the onboarding process when they press the action button
- If you want to allow users to skip the onboarding process, enable skipping on the onboarding view controller
- With only a few lines of code you have a beautiful, end-to-end onboarding process that will get your users excited to use your awesome application