按图示添加完访问如下
+(UIImage*)ImgNamed:(NSString*)imageName{
NSString *bundlePath = [[NSBundle mainBundle] pathForResource:@"TCBundle" ofType:@"bundle"];
NSString*imgPathTwo= [bundlePathstringByAppendingPathComponent:imageName];
UIImage*imageTwo = [UIImageimageWithContentsOfFile:imgPathTwo];
returnimageTwo;
}