NJKScrollFullScreen
NJKScrollFullScreen copied to clipboard
simplified NJKScrollFullScreen
Hi, your NJKScrollFullScreen is great!, I have spend months looking for a simplified lib to hide navBar & tabBar when scroll. it can be much simplified if add an automatic execution to instead of ViewController delegate, I mark the additional code with warning msg place, it will not change the way to use by your README description. I have tested the code I changed, it only need 3 line code to use NJKScrollFullScreen. so may I pull request to you? thx!
in my UITableViewController.m just add below 4 lines code and NJKScrollFullScreen work well: self.edgesForExtendedLayout = UIRectEdgeAll; self.extendedLayoutIncludesOpaqueBars = YES; _scrollProxy = [[NJKScrollFullScreen alloc] initWithForwardTarget:self]; self.tableView.delegate = (id)_scrollProxy;