Skip to content

Commit

Permalink
fixed mistakes
Browse files Browse the repository at this point in the history
  • Loading branch information
rsrbk committed Sep 30, 2016
1 parent bb462f3 commit 4343264
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions HidingNavigationBar/HidingNavigationBarManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ open class HidingNavigationBarManager: NSObject, UIScrollViewDelegate, UIGesture
extensionController.view.frame = frame
}

updateContentInsets()

if scrolledToTop {
var offset = scrollView.contentOffset
offset.y = -scrollView.contentInset.top
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class HidingNavViewController: UIViewController, UITableViewDataSource, UITableV
}

func hidingNavigationBarManagerDidUpdateScrollViewInsets(_ manager: HidingNavigationBarManager) {
print("kek")

}

func hidingNavigationBarManagerShouldUpdateScrollViewInsets(_ manager: HidingNavigationBarManager, insets: UIEdgeInsets) -> Bool {
Expand Down

0 comments on commit 4343264

Please sign in to comment.