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

About the developer

robertoseidenberg
202 Stars 19 Forks MIT License 14 Commits 4 Opened issues

Services available

!
?

Need anything else?

Contributors list

# 403,447
Objecti...
14 commits

RCCPeakableImageView

Implementation of a "peekable" thumbnail image as shown at the Flag Kickstarter Project

 

Features

Automatically fills the image view with the image and adjusts "peeking" according to the image size. "Peeking" means: remaining potions of the image will be scrolled to the visible view area as you tilt your phone.

Build and run the sample app to see it in action.

Usage

    // Load image
    UIImage *image = [UIImage imageNamed:@"myImage.jpg"];

// Setup "peekable" image view
RCCPeakableImageView *view = [[RCCPeakableImageView alloc] initWithFrame:frame];
view.image = image;

// Optinally add somme default "peek" 
// this prevents the image from beeing static
// even if it fits perfectly inside the view bounds
view.padding = CGPointMake(20.0f, 20.0f);

Requirements

  • iOS 7.0
  • ARC

Acknowledgements

All images used in the sample app found at Unsplash

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.