Related questions
Making a UIImage to a circle form
I have been trying to mask a UIImage into a circle.
I'm using now the code that has been popular on other answers here, but although I do get a circle its edges are very jagged and not smooth.
Anyone …
How to get UIImage of AppIcon?
I am using Assets Catalog, and adding app icon of various size to the assets is okay.
But when I tried to get the UIImage programmatically, it returned nil.
UIImage *appIcon = [UIImage imageNamed"AppIcon"];
The app icon is named AppIcon (…
UIImage initWithContentsOfFile doesn't work
I have question: I want to avoid [UIImage imageNamed:].
So i did:
UIImage *prodImg = [[UIImage alloc] initWithContentsOfFile:@"myimage.png"];
controller.productImg.image = prodImg;
[prodImg release];
But now the image is not shown anymore.
Does anyone know how to get that …