-
-
Notifications
You must be signed in to change notification settings - Fork 534
Open
Description
Description
As shown in the screenshot, there seems to be a retain cycle occurring when SurfaceView set(contentView:mode:) function is running in the set(contentViewController:) function in FloatingPanelController. I believe it is occurring since the contentView being passed as a parameter is being added as a subView rather that SurfaceView's self.contentView being added.
Steps to reproduce
Code example that reproduces the issue
let contentVC = ContentViewController()
self.fpc.set(contentViewController: contentVC)
How do you display panel(s)?
- Add as child view controllers
How many panels do you displays?
- 1
Environment
Library version
2.8.6
Installation method
- CocoaPods
iOS version(s)
18.1.1
Xcode version
16.2
Metadata
Metadata
Assignees
Labels
No labels