i already used
but in swiftui 3 and iOS 15 i got this warning
'windows' was deprecated in iOS 15.0: Use UIWindowScene.windows on a relevant window scene instead
so in new version what is the best way for getting safe area insets?
i can't use GeometryRedaer