FSPagerView icon indicating copy to clipboard operation
FSPagerView copied to clipboard

backgroundView not clearing

Open Isuru-Nanayakkara opened this issue 4 years ago • 2 comments

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?

Isuru-Nanayakkara avatar Apr 05 '20 06:04 Isuru-Nanayakkara

same question

Agoer avatar Apr 14 '20 10:04 Agoer

I found that pagerView.backgroundView?.removeFromSuperview() works. But I still don't think that's the correct way it should be done.

Isuru-Nanayakkara avatar Apr 20 '20 15:04 Isuru-Nanayakkara