You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 29, 2022. It is now read-only.
DZNEmptyDataSetView sets its frame to the scroll view's bounds. I'm experiencing problems with this when reloading the DZNEmptyDataSetView while the scroll view is scrolled/scrolling.
In my specific case – the refresh control I'm using (SSPullToRefresh) adjusts the scroll view's insets and offsets while reloading and animating. This causes the DZNEmptyDataSetView to be in the "wrong" spot when I reload the DZNEmptyDataSetView during this animation.
The simplest solution for my use case is to do this:
Do you have any suggestions on how we could add this as an option to the project? We could possibly allow the delegate to provide a DZNEmptyDataSetView subclass to use. We could add an option for using a 0 y origin. (non relative origin?). Even just exposing the DZNEmptyDataSetView as a readonly property would allow a UIScrollView subclass to reposition the subview as needed.