title: Add button horizontally to Page Control
body: <p>I need to add a button horizontally to a Page Control in UIPageViewController. I have added my pageviewcontroller as a subview to a ViewController, by default im getting the page control .Now I wanted to add a button, Can anyone suggest any way to add button ?</p>
  
  <p>Thanks in advance!!</p>
  
  <pre><code>_pageViewController = [[UIPageViewController alloc] initWithTransitionStyle:UIPageViewControllerTransitionStyleScroll
                                                            navigationOrientation:UIPageViewControllerNavigationOrientationHorizontal
                                                                          options:nil];
  
      self.view.backgroundColor = [[UIColor blackColor]colorWithAlphaComponent:0.5];
  
      UIStoryboard *storyboard = [UIStoryboard storyboardWithName:
                                  @"Main" bundle:[NSBundle mainBundle]];
      UIViewController *p1 = [storyboard instantiateViewControllerWithIdentifier:@"First"];
      UIViewController *p2 = [storyboard
                              instantiateViewControllerWithIdentifier:@"Second"];
      UIViewController *p3 = [storyboard
                              instantiateViewControllerWithIdentifier:@"Third"];
      UIViewController *p4 = [storyboard
                              instantiateViewControllerWithIdentifier:@"Fourth"];
      _Array = @[p1,p2,p3,p4];
      _pageViewController.dataSource = self;
      _pageViewController.delegate = self;
      [_pageViewController setViewControllers:@[_Array[0]]
                                    direction:UIPageViewControllerNavigationDirectionForward
                                     animated:NO
                                   completion:nil];
  
      [_pageViewController willMoveToParentViewController:self];
      [self addChildViewController:_pageViewController];
      [self.view addSubview:_pageViewController.view];
      [self.view sendSubviewToBack:self.pageViewController.view];    
      [_pageViewController didMoveToParentViewController:self];
  </code></pre>