How To Solve “‘windows’ was deprecated in iOS 15.0: Use UIWindowScene.windows on a relevant window scene instead” warning in Swift.
Quick tip on how to fix the error which mostly depends on where you are calling the code in your app. In my app for example I use a similar code in two places. Common among them is it tries to determine the first key window in the application regardless of the scene. I have… Read More How To Solve “‘windows’ was deprecated in iOS 15.0: Use UIWindowScene.windows on a relevant window scene instead” warning in Swift.