Bartłomiej Semańczyk Bartłomiej Semańczyk - 1 year ago 138
Swift Question

How to set background color for UIPageViewController?

How to set color for background view in

? Is it possible to do this in Storyboard?

enter image description here

Answer Source

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.
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download