public override void ViewDidLoad()
		{
			base.ViewDidLoad();

			AutomaticallyAdjustsScrollViewInsets = false;
			//self.automaticallyAdjustsScrollViewInsets = false;

			Title = "MyDriving";
			NavigationItem.SetRightBarButtonItem(new UIBarButtonItem("Dismiss", UIBarButtonItemStyle.Plain, (sender, e) =>
			{
				var viewController = UIStoryboard.FromName("Main", null).InstantiateViewController("loginViewController");
				var appDelegate = (AppDelegate)UIApplication.SharedApplication.Delegate;
				appDelegate.Window.RootViewController = viewController;
			}), false);

			pageOne.PageIndex = 0;
			pageOne.Image = UIImage.FromBundle("screen_1.png");

			SetViewControllers(new UIViewController[] { pageOne }, UIPageViewControllerNavigationDirection.Forward, true, null);
			DataSource = new PageViewControllerSource();
		}
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            AutomaticallyAdjustsScrollViewInsets = false;
            //self.automaticallyAdjustsScrollViewInsets = false;

            Title = "MyDriving";
            NavigationItem.SetRightBarButtonItem(new UIBarButtonItem("Dismiss", UIBarButtonItemStyle.Plain, (sender, e) =>
            {
                var viewController = UIStoryboard.FromName("Main", null).InstantiateViewController("loginViewController");
                var appDelegate    = (AppDelegate)UIApplication.SharedApplication.Delegate;
                appDelegate.Window.RootViewController = viewController;
            }), false);

            pageOne.PageIndex = 0;
            pageOne.Image     = UIImage.FromBundle("screen_1.png");

            SetViewControllers(new UIViewController[] { pageOne }, UIPageViewControllerNavigationDirection.Forward, true, null);
            DataSource = new PageViewControllerSource();
        }