You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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)?
How many panels do you displays?
Environment
Library version
2.8.6
Installation method
iOS version(s)
18.1.1
Xcode version
16.2
The text was updated successfully, but these errors were encountered: