tableview滑动后DZNEmptyDataSet 消失或者位置不对的问题
Martin-zhq opened this issue · comments
Martin-zhq commented
这个问题的修改:
(void)didMoveToSuperview
{
CGRect frame = self.superview.bounds;
frame.origin.y = 0;
self.frame = frame;
void(^fadeInBlock)(void) = ^{_contentView.alpha = 1.0;};
if (self.fadeInOnDisplay) {
[UIView animateWithDuration:0.25
animations:fadeInBlock
completion:NULL];
}
else {
fadeInBlock();
}
}