Featured
-
How Regression Testing Detects Integral Errors In Business Processes
Humans are forever changing and evolving and so to
by kristina.rigina -
Get Display Banner Advertising Opportunity on FindNerd Platform
“Do you have a product or service that nee
by manoj.rawat -
Android O Released with Top 7 New Features for App Developers
Android was founded by Andy Rubin, Rich Miner, Nic
by sudhanshu.tripathi -
Top 5 Features That Make Laravel the Best PHP Framework for Development
Laravel is a free open source Web Framework of PHP
by abhishek.tiwari.458 -
Objective C or Swift - Which Technology to Learn for iOS Development?
Swift programming language is completely based on
by siddharth.sindhi
Tags
Convert HTML Content into Image to Show WebView in ObjectiveC iOS App
In our application sometimes there is a need to show webView content as a preview or as a thumbnail and for that simplest solution is to convert html content into image which can then easily be used in our app.
So ...
Rescale UImage to New Size
We may be using image sets where few images are pretty big or small in size(say big 500X500 for instance). And if you want to resize the image to your desired size then it’s easiest by creating an extension of UIImage that will draw the ima...
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...