0

This is the situation: enter image description here

I got the two image view on top of the view, and on the bottom is a container view (the one with the segmented control) that can be dragged upward.

Now, is there a way to add a parallax effect to the background image (the one with the blur) as I drag the container upward?

dpstart
  • 1,018
  • 1
  • 10
  • 25
  • Possible duplicate of [iOS 7 parallax effect in my view controller](https://stackoverflow.com/questions/18972994/ios-7-parallax-effect-in-my-view-controller) – kelin Jan 21 '18 at 15:39

1 Answers1

1

A I can see you are working on iOS 9 so you can use InterploationMotionEffect available from iOS 8. I have also created example for the same ParallaxEffectExample

Example is in swift & having two example set. First one as manual & second one using InterploationMotionEffect in UITableView.

Gagan_iOS
  • 3,638
  • 3
  • 32
  • 51
  • Ohh..It's my fault in Git Upload.. By the way you can access following links https://github.com/quemb/QMBParallaxScrollViewController Parallax effect in CollectionView https://github.com/mayuur/MJParallaxCollectionView – Gagan_iOS Nov 14 '15 at 20:56
  • Also try to pull Git repository using https://github.com/Gagan5278/ParallaxEffect.git – Gagan_iOS Nov 14 '15 at 21:06