NSString *path =[[NSBundle mainBundle] pathForResource:@"icon" ofType:@"png"]; MyImage = [UIImage imageWithContentsOfFile:path];