摘要: 1 [[UIImage imageNamed:@"button_textured_30"] resizableImageWithCapInsets:UIEdgeInsetsMake(0, 5, 0, 5)];其中Insets这个参数的格式是(top,left,bottom,right),从上、左、下... 阅读全文
posted @ 2015-04-17 12:25 许文斌 阅读(140) 评论(0) 推荐(0) 编辑
摘要: - (UIImage *)stretchableImageWithLeftCapWidth:(NSInteger)leftCapWidth topCapHeight:(NSInteger)topCapHeight 这个函数是UIImage的一个实例函数,它的功能是创建一个内容可拉伸,而边角不拉伸的图... 阅读全文
posted @ 2015-04-17 12:06 许文斌 阅读(147) 评论(0) 推荐(0) 编辑