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 colorMasking[6] = {222, 255, 222, 255, 222, 255};
To Read complete information about “Make UIImage White Background Transparent in iOS” visit FindNerd. Apart from this, you can also ask questions & look for various programming queries along with their solutions including Android, C, Java, Php programming questions and answers etc. as it is an effective technology forum also.
No comments:
Post a Comment