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

About the developer

lukagabric
197 Stars 32 Forks 4 Commits 0 Opened issues

Description

iOS Image View with transition between images

Services available

!
?

Need anything else?

Contributors list

# 231,440
Objecti...
Ruby
4 commits

LTransitionImageView

iOS Image View with transition effect between images

Overview

The LTransitionImageView class has only three properties you may want to set:

@property (strong, nonatomic) UIImage *image;
@property (assign, nonatomic) AnimationDirection animationDirection;
@property (assign, nonatomic) CGFloat animationDuration;
  • image – the content image
  • animationDirection – one of the four supported transition animations
  • animationDuration – defaults to 2 seconds if not set

The following transition effects are supported (animationDirection property):

  • AnimationDirectionLeftToRight
  • AnimationDirectionRightToLeft
  • AnimationDirectionTopToBottom
  • AnimationDirectionBottomToTop

Installation

Just import the LTransitionImageView class files into your project.

Sample

_transitionImageView.image = [UIImage imageNamed:@"image0.jpg"];
_transitionImageView.animationDirection = AnimationDirectionTopToBottom;
_transitionImageView.image = [UIImage imageNamed:@"image1.jpg"];

For more information check the LTransitionImageViewSample.

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.