Post

Replies

Boosts

Views

Activity

SafeAreaInsets Size for SwiftUI padding
i already used .padding(.top, UIApplication.shared.windows[0].safeAreaInsets.top) 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
1
0
7.3k
Jan ’22
Xcode 15 Beta Simulator Problems
I just downloaded Xcode 15 beta from Apple Developer website and I chose iOS 17 SDK/Simulator to download too. But now after creating a project and running it on a simulator my Xcode doesn't detect iOS 17 SDK. I also moved the "simruntime" file to Library/Developer/CoreSimulator/Profiles folder.
Replies
0
Boosts
0
Views
948
Activity
Jun ’23
SafeAreaInsets Size for SwiftUI padding
i already used .padding(.top, UIApplication.shared.windows[0].safeAreaInsets.top) 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
Replies
1
Boosts
0
Views
7.3k
Activity
Jan ’22