uiiamge background
UIGraphicsBeginImageContext(self.view.frame.size);
[[UIImage imageNamed:@"statistics"] drawInRect:self.view.bounds];
UIImage *image = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
UIImageView *imageView = [[UIImageView alloc] initWithImage: image];
[self.view addSubview: imageView];
[self.view sendSubviewToBack: imageView];
- Log in to post comments