ViewControlloer常用背景圖設置

@property(nonatomic,strong)UIImageView*bgImageView;
//背景圖
    _bgImageView = [[UIImageView alloc]initWithFrame:self.view.frame];
    _bgImageView.userInteractionEnabled = YES;
    _bgImageView.backgroundColor = [UIColor whiteColor];
    [self.view addSubview:_bgImageView];
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章