Featured
-
Objective C or Swift - Which Technology to Learn for iOS Development?
Swift programming language is completely based on
by siddharth.sindhi -
Make UIImage White Background Transparent in iOS
If you came across to a requirement where you want
by ashish.nakoti -
User's location update on server when app is in background.
Code for those Apps where we need to update user's
by ashish.nakoti -
Animate button with zoom and bounce effect in ios
Many social apps are using bouncing effect for but
by ashish.nakoti -
Crop an image from UIImageView
With the following method stated below you can cro
by kuldeep.butola
Tags
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...