Add parallax effect to UIImageView programmatically

Parallax effect comes to IOS with the introduction of IOS 7. You can achieve this parallax effect inside  your  app by using the  UIInterpolatingMotionEffect class. Let’s clarify parallax effect, the parallax effect makes your wallpaper to move left and right or up and down when user tilt his device. The parallax effect example is shown in

Add parallax effect to UIImageView programmatically Read More »

Tips and Tricks – Part 3

In this article i am going to explain some of the programming solutions 1. Capture device screenshot programmatically     CGRect rect = CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height);     UIGraphicsBeginImageContextWithOptions(rect.size,NO,0.0f);     CGContextRef context = UIGraphicsGetCurrentContext();     [self.view.layer renderInContext:context];     UIImage *capturedImage = UIGraphicsGetImageFromCurrentImageContext();     UIGraphicsEndImageContext(); Here, in above code we first pass the rect which we want

Tips and Tricks – Part 3 Read More »