CocoaPods trunk is moving to be read-only. Read more on the blog, there are 19 months to go.
TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Nov 2016 |
Maintained by sofach.
add hidesOnSwipe to view
- (void)viewWillAppear:(BOOL)animated {
[super viewWillAppear:animated];
[yourview sf_hidesOnSwipeScrollView:yourscrollview fromFrame:orignFrame toFrame:finalFrame];
}
- (void)dealloc { // 由于有监听scroll,这里必须设置滑动的scrollview为nil,从而取消监听
[yourview sf_hidesOnSwipeScrollView:nil fromFrame:orignFrame toFrame:finalFrame];
}
enjoy it