public override void ViewDidLoad () { base.ViewDidLoad (); View = CubeView = new CubeView (View.Frame); scrollView = new UIScrollView (); scrollView.Frame = CubeView.ScrollableFrame; scrollView.ContentSize = CubeView.ScrollableContentSize; scrollView.ShowsHorizontalScrollIndicator = false; scrollView.Scrolled += Scrolled; scrollView.DraggingStarted += DraggingStarted; scrollView.DraggingEnded += DraggingEnded; scrollView.DecelerationEnded += DecelerationEnded; scrollView.Hidden = true; View.AddSubview (scrollView); UIView dummyView = new UIView (scrollView.Frame); dummyView.AddGestureRecognizer (scrollView.PanGestureRecognizer); View.AddSubview (dummyView); }