public void Expand() { _navBarController.Expand(); _tabBarController?.Expand(); _previousYOffset = nfloat.NaN; HandleScrolling(); }
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(); }