IOS 利用图片设置背景

     UIImageView* imageView = [[UIImageView alloc] initWithFrame:self.view.bounds];
     imageView.image = [UIImage imageNamed:@"背景灰.png"];
     self.view.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"背景灰.png"]];

 

posted on 2015-06-08 16:33  大木哥  阅读(417)  评论(0编辑  收藏  举报

导航