FSPagerView
FSPagerView copied to clipboard
backgroundView not clearing
I'm setting a custom view as the backgroundView
when there are no items to show. But say, if I reload it with some items again, setting the backgroundView
back to nil
doesn't remove it.
Is that the correct way of doing it or is this a bug?
same question
I found that pagerView.backgroundView?.removeFromSuperview()
works. But I still don't think that's the correct way it should be done.