How to Create Parallax Effect Wallpaper in iOS

[ad_1]
DOWNLOAD + free iOS course:

Have you ever thought about implementing a parallax effect for your app? That’s what we are going to do today in this episode.

Download the starter project below. After you sign up with your name and email, I’ll send you the projects and my new iOS email course as my THANKS for joining me in Code Hangout!

DOWNLOAD + free iOS course:

*************************************
*** ABOUT CODE HANGOUT ***
*************************************
Code Hangout is hosted by Duc Tran, founder of Developers Academy.

This is his free-style no notes, no teleprompter presentation and live coding broadcast with you guys everyday.

To join Duc LIVE, register for free at

******************************************************
*** FREE TRAININGS IN IOS DEVELOPMENT ***
******************************************************
To subscribe and get free tutorials, courses and weekly content, visit me at:

Get Duc’s free new iOS crash course:

Join Duc’s programs:

Join Total iOS Blueprint:

Join Socialize Your Apps:

Go to his blog, new content daily:


Posted

in

by

Tags:

Comments

3 responses to “How to Create Parallax Effect Wallpaper in iOS”

  1. MAX NELSON Avatar

    solid tutorial thanks man!

  2. Keron Williams Avatar

    Duc your the man dude!

  3. Ankush Girotra Avatar

    Hey Duc! Thanks for the tutorial, it was amazing!
    I was wondering why we had to go about the project in such an unusual way, instead of just going about updating and animating the x and y vals of the imgView according to gyro measurements. Plus, I could think of many more ways to use gyro measurements as compared to UIMotionEffectGroup(). So I tried to do that instead. I found it rather tricky to get those measurements. Looking online, I found a function that lets you receive a x and y pair that tells you where the device detects gravity, (Ex: If you had the device flat on a table, it would read 0,0) Upon trying to implement the code myself, I faced many problems and just couldn't figure out how to make it work. So, I was wondering, if it wouldn't be too much to ask, could you maybe do another short tutorial on how to make a similar effect in iOS but with the gravity gyro way instead?

Leave a Reply

Your email address will not be published. Required fields are marked *