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); }
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); }