Need help with Parallax?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

acoomans
414 Stars 53 Forks BSD 2-Clause "Simplified" License 15 Commits 4 Opened issues

Description

Parallax is an iOS library that reproduces the parallax effect of the iOS7 home screen.

Services available

!
?

Need anything else?

Contributors list

# 70,766
Objecti...
Swift
otp
React N...
4 commits

Parallax

Parallax is an iOS library that reproduces the parallax effect of the iOS7 home screen.

Build Status Cocoapods Cocoapods

Dependencies

  • QuartzCore
  • CoreMotion

Usage

  1. Add the Parallax directory into your project.
  2. Add
    #import "ACParallax.h"
    to your view controller.
  3. Add a ACParallax view and start the parallax effect with
    parallaxView.parallax = YES;

Optional:

If you want a delegate to be notified of begin/end parallax effect and changes in the motion attitude:

parallaxView.parallaxDelegate = self;

If you want the parallax view to refocus slowly and automatically:

parallaxView.refocusParallax = YES;

Install with CocoaPods

Use CocoaPods add Parallax to your project.

  • Add a pod entry for Parallax to your Podfile
pod 'Parallax', '~> 0.0.1'
  • Install the pod(s) by running:
pod install

Screenshot

screenshots

Bugs

  • Device pitch is not handled correctly; behaves weirdly when the device is held straight up.
  • Some implementations details missing (see TODOs)

Thanks

San Francisco Bridge by Jeff Gunn (Creative Commons)

Cocoapods specs by Bruno Furtado

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.