How to set color for background view in UIPageViewController
? Is it possible to do this in Storyboard?
edit: I thought the question was about UIPageControl.
You should be able to simply modify the color of the UIPageViewController's view:
- (void)viewDidLoad {
[super viewDidLoad];
self.view.backgroundColor = [UIColor blueColor]; //Set to any color.
}
Inside UIPageViewController's view, you can use this code:
override func viewDidLoad() {
super.viewDidLoad()
// Set backbround color to white
self.view.backgroundColor = UIColor.white
}
I've set the color to white, but you can pretty much insert whatever color you want.
Cheers!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With