IOS 纹理填充 背景
摘要:
1 UIView *testView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 200, 50)];2 testView.backgroundColor = [UIColor colorWithPatternImage: [UIImage imageNamed:@"纹理图片.png"]];原来一直都是用的都是一整张图 --! 阅读全文
posted @ 2012-11-15 23:45 cokecoffe 阅读(831) 评论(0) 推荐(0) 编辑