" Live as if you were to die tomorrow. Learn as if you were to live forever.. "
- Mahatma Gandhi
Sometimes you need to take screen shots of a current screen (view in iOs).
You can use this utility function for this purpose. You need to pass a view need screen shots, and it will return image. Now you can save this image in photo library or share with a client/friends
+ (UIImage*) giveScreentshjotsOfView:(UIView*) view
if (view == nil)
UIImage *image = UIGraphicsGetImageFromCurrentImageContext();
Mail (will not be published) (required)
Enter Captcha Code *
six − = 5
Burn Ignorance is a knowledge initiative by Mindfire Solutions
Subscribe to our mailing list to get the updates to your email inbox...