Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [UIImage imageNamed:fullFileName]
- NSString *fileLocation = [[NSBundle mainBundle] pathForResource:fileName ofType:extension];
- NSData *imageData = [NSData dataWithContentsOfFile:fileLocation];
- [UIImage imageWithData:imageData];
- NSString *fileLocation = [[NSBundle mainBundle] pathForResource:fileName ofType:extension];
- UIImage* yourImage = [[[UIImage alloc] initWithContentsOfFile:imagePath] autorelease];
Add Comment
Please, Sign In to add comment