Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Crop UIImage in iOS

Hello all ! To crop an UIImage in iOS the following code can be used :-   - (void)viewDidLoad { [super viewDidLoad]; [_originalImage setImage:[UIImage imageNamed:@"Scenery.jpg"]]; CGRect rect = CGRectMake(...

How to convert NSData to UIImage in iOS

Hi Readers, This blog includes the concept of converting NSData to UIImage with the help of a very simple example. Given below is the screenshot and code which is used to convert NSData to UIImage on button click. Snapshot of storyboard is g...

LIVBubbleMenu for iOS

We can create animated and customisable bubble menu for iOS using LIVBubbleMenu. Here is a link from GitHub for the project https://github.com/limitlessvirtual/LIVBubbleMenu-iOS.   In the following example we are going to show bub...

How to save image in to gallery in iOS

If you want to save any UIImage to iPhone or iPad gallery, just use below code to achieve it. These lines of code will write image file to your gallery. You just have to pass UIImage as param to it. UIImageWriteToSavedPhotosAlbum(yourUIImage,...

UIImage Cropping in Objc

Some times we click picture from ios camera but it does not return us the same image as appears inside the camera frame. Use below function to get an image of exact size which was visible through camera. Follow these Steps:- Step 1. First o...

Change color of an UIImage in ios

You can pass array of colors in this function in order to change any color of an UIImage. Just pass UIColor and UIImage to this function. +(UIImage *)changeColorTo:(NSMutableArray*) array Transparent: (UIImage *)image { CGImageRef rawIma...

Make UIImage White Background Transparent in iOS

If you came across to a requirement where you want to make UIImage Background Transparent then use below method to achieve it. +(UIImage *)changeWhiteColorTransparent: (UIImage *)image{ CGImageRef rawImageRef=image.CGImage; const CGFloat c...
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: