@@ -119,6 +119,11 @@
return [[NSAttributedString alloc] initWithString:text attributes:attributes];
}
+-(CGFloat)verticalOffsetForEmptyDataSet:(UIScrollView *)scrollView
+{
+ return -100;
+}
+
#pragma mark -
#pragma --------------------------------------------------------------------------------------------
#pragma mark ===== Peek & Pop =====
@@ -157,6 +157,10 @@ class NCTrash: UIViewController, UIGestureRecognizerDelegate, NCTrashListCellDel
return true
+ func verticalOffset(forEmptyDataSet scrollView: UIScrollView!) -> CGFloat {
+ return -100
+ }
// MARK: TAP EVENT
func tapSwitchHeaderMenu(sender: Any) {