Open ElvistLui opened 3 years ago
i have the same issue!
Try with:
pod 'DZNEmptyDataSet', :git => "https://github.com/norman93sun/DZNEmptyDataSet.git"
I found the code is not right from pod. @dzenbot Since I add DZNEmptyDataSet from podfile,the func didMoveToSuperview is not the same with source code
I had the same issue, but Norman's code wasn't meshing well in my project. I ended up changing to the Swift version instead and it worked. https://github.com/Xiaoye220/EmptyDataSet-Swift
STEP: 1.Load two pages of data; 2.Swipe half the screen; 3.Clear the data, then
[tableView reloadData];
.RESULT: DZNEmptyDataSetView should be on top, but the position here is wrong.
I suggest moving the
[self dzn_reloadEmptyDataSet];
method in the figure to the last call.