FloatingPanel icon indicating copy to clipboard operation
FloatingPanel copied to clipboard

Want to show the floating panel based on views present in main view controller.

Open mallikarjuna0308 opened this issue 4 years ago • 1 comments

Hi @scenee, I am using your library and it is easy to use. Thank you for providing this wonderful library. I have a requirement where I need to show the floating panel based on other views in the main view controller. So, Is there a way to set the y position of the floating panel relative to its superview?

mallikarjuna0308 avatar Jun 23 '21 15:06 mallikarjuna0308

Yes there is, if you present a panel as a child vc. You are able to add FloatingPanelController.view in any view and locate it, like FloatingPanelController.addPanel(toParent:).

scenee avatar Jul 03 '21 06:07 scenee