SwipeableOnboardingUIPageView Save

Swipeable User Onboarding views with main View displaying behind

Project README

Swipeable Card Onboarding UIPageView iOS

Swipeable cards for onboarding.

Code wherein the onboarding screen will be used only once during the lifetime of application, is not introduced in the applicationDidLaunch method (within AppDelegate). It is expected that people using it might introduce that, as it is hardly 4 lines of code. Please note that main purpose was to keep the main View appearing behind the PageViews (or onboarding screens, so that users always have a glimpse of the good stuff lurking behind).

Result

(iPhone Portrait)

enter image description here

(iPad Landscape)

enter image description here

(iPhone Landscape)

enter image description here

Main ViewController is the entry point. Within the main VC, Container VC is used. UIPageViewController is dragged in underlying which three are VCs which would be the pages within the UIPageViewController. After removing the ContainerView's default controller, UIPageViewController is embedded (Enbed Segue) into the ContainerView (which in within the main VC). The whole arrangement looks like:

enter image description here

This way my mainVC can remain the initial VC. I can make my three views smaller with a corner radius, which looks like a popover arrangement, as is what I needed. At the end of it, the result above is the following which is exactly what I want. In case anyone is interest, putting in a pub repo. Tx.

Icons made by Freepik from www.flaticon.com

I am reachable at https://twitter.com/abhinavpraksh for further assistance/ conversation.

Open Source Agenda is not affiliated with "SwipeableOnboardingUIPageView" Project. README Source: apraka16/swipeableOnboardingUIPageView
Stars
29
Open Issues
0
Last Commit
5 years ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating