UIImage *tileImage = [UIImage imageNamed:@"logo"];
self.view.backgroundColor = [UIColor colorWithPatternImage:tileImage];
将图片平铺到view上
实现效果
UIImage *tileImage = [UIImage imageNamed:@"logo"];
self.view.backgroundColor = [UIColor colorWithPatternImage:tileImage];
将图片平铺到view上
实现效果