scenee / FloatingPanel

A clean and easy-to-use floating panel UI component for iOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

after tap-to-dismiss action of the backdrop view, Move a position with an animation not working

iosHumhae opened this issue · comments

Display via fpc.move function does not work after closing the floating panel by tapping the background. How can I solve this?

If it is presented as a child view controller: The dismiss action calls FloatingPanelController.removePanelFromParent() internally. So you need to call addPanel(toParent:) again to present a panel.

If it is presented as a modality: The dismiss action calls FloatingPanelController.dismiss as its name implies . So you need to present a panel again.

cool!
The solution you gave me was very helpful in solving my problem.