示例#1
0
        public void Expand()
        {
            _navBarController.Expand();
            _tabBarController?.Expand();

            _previousYOffset = nfloat.NaN;

            HandleScrolling();
        }
示例#2
0
        public void AddExtensionView(UIView view)
        {
            _extensionView?.RemoveFromSuperview();
            _extensionView = view;

            var bounds = view.Frame;

            bounds.Location = CGPoint.Empty;

            _extensionView.Frame            = bounds;
            _extensionController.View.Frame = bounds;
            _extensionController.View.AddSubview(view);
            _extensionController.Expand();

            _extensionController.View.Superview.BringSubviewToFront(_extensionController.View);
            UpdateContentInset();
        }