UIScrollEdgeElementContainerInteraction crashed on iOS 26 Beta 3

after i updated to iOS 26.0 Beta3, UIScrollEdgeElementContainerInteraction crashed:

                let scrollInteraction = UIScrollEdgeElementContainerInteraction()
                scrollInteraction.edge = .bottom
                scrollInteraction.scrollView = webView?.scrollView
                bottomBar.addInteraction(scrollInteraction)

i got this crash info:unrecognized selector sent to instance: UIScrollEdgeElementContainerInteraction setEdge: and UIScrollEdgeElementContainerInteraction setScrollView

Answered by DTS Engineer in 848102022

Please open a bug report and post the FB number here once you do. Bug Reporting: How and Why? has tips on creating your bug report.

Yeah this is 100% reproducible for us as well. Seems like UIScrollEdgeElementContainerInteraction is broken in beta 3.

Accepted Answer

Please open a bug report and post the FB number here once you do. Bug Reporting: How and Why? has tips on creating your bug report.

UIScrollEdgeElementContainerInteraction crashed on iOS 26 Beta 3
 
 
Q