thiagofuer
1/6/2016 - 9:45 PM

Como adicionar uma imagem como background na view

Como adicionar uma imagem como background na view

UIImage *background = [UIImage imageNamed:@"background.png"];
UIColor *cor = [UIColor colorWithPatternImage:background];
[self.view setBackgroundColor:cor];