标签:log hle res str idt resize ret ima size
/** * 根据图片名返回一张能够自由拉伸的图片 */ +(UIImage *)resizedImage:(NSString *)name { UIImage *image=[UIImage imageWithName:name]; return [image stretchableImageWithLeftCapWidth:image.size.width*0.5 topCapHeight:image.size.height*0.5]; }
标签:log hle res str idt resize ret ima size
原文地址:http://www.cnblogs.com/liuwj/p/6641909.html