public override void LoadView()
 {
     View = view = new FullScreenVideoView {
         Parent = this,
     };
     //View.AddSubview(button = new UIButton());
     //button.BackgroundColor = UIColor.Black.ColorWithAlpha(0);
     //button.SetTitleColor(UIColor.White.ColorWithAlpha(.25f), UIControlState.Normal);
     //button.SetTitle("", UIControlState.Normal);
 }
Beispiel #2
0
        public override void LoadView()
        {
            View = view = new FullScreenVideoView
            {
                Parent = this,
            };
            View.AddGestureRecognizer(new UIPanGestureRecognizer(HandleDragGesture));
            ModalTransitionStyle       = UIModalTransitionStyle.CrossDissolve;
            this.TransitioningDelegate = this;

            //View.AddSubview(button = new UIButton());
            //button.BackgroundColor = UIColor.Black.ColorWithAlpha(0);
            //button.SetTitleColor(UIColor.White.ColorWithAlpha(.25f), UIControlState.Normal);
            //button.SetTitle("", UIControlState.Normal);
        }