美文网首页
ViewControlloer常用背景图设置

ViewControlloer常用背景图设置

作者: 上帝很忙 | 来源:发表于2016-03-07 10:12 被阅读23次
@property(nonatomic,strong)UIImageView*bgImageView;
//背景图
 _bgImageView = [[UIImageView alloc]initWithFrame:self.view.frame]; 
 _bgImageView.userInteractionEnabled = YES; 
 _bgImageView.backgroundColor = [UIColor whiteColor];
 [self.view addSubview:_bgImageView];

相关文章

网友评论

      本文标题:ViewControlloer常用背景图设置

      本文链接:https://www.haomeiwen.com/subject/yuiakttx.html