目前,我这样做是为了对我的UITextView背景图片:重复UITextView的背景图像?
UIImageView *imgView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, textView.frame.size.width, textView.frame.size.height)];
imgView.image = [UIImage imageNamed:@"background.png"];
[textView addSubview: imgView];
[textView sendSubviewToBack: imgView];
[imgView release];
但问题是,它不会重复。我想要的是在每个UIImage之后重复的图像。
这可能吗?
谢谢!
你的意思是平铺效果? – Snips 2012-03-01 20:51:49
没有一个图像在另一个图像上 – 2012-03-01 21:04:44
一个图像分层叠加在另一个(分层)上,或者一个在另一个上面(不重叠)? – Snips 2012-03-01 23:23:43