@implementation UIImage(imageNamed_Hack)
+ (UIImage *)imageNamed:(NSString *)name {
NSString *path = [NSString stringWithFormat:@"%@/%@",
[[NSBundle mainBundle] bundlePath],
name];
return [UIImage imageWithContentsOfFile:path];
}
@end
+ (UIImage *)imageNamed:(NSString *)name {
NSString *path = [NSString stringWithFormat:@"%@/%@",
[[NSBundle mainBundle] bundlePath],
name];
return [UIImage imageWithContentsOfFile:path];
}
@end