UIImage*image = [UIImageimageNamed:@"sample"];
UIColor*backColor = [[UIColoralloc]initWithPatternImage:image];
self.view.backgroundColor= backColor;
UIImage*image = [UIImageimageNamed:@"sample"];
UIColor*backColor = [[UIColoralloc]initWithPatternImage:image];
self.view.backgroundColor= backColor;