I have this issue in SwiftUI where the ScrollView is not the first view in my hierarchy. Is there another solution then make it the first view?
Post
Replies
Boosts
Views
Activity
Wow, its 1 year later and this bug is still not fixed. I used this brute force workaround inside a button action:
if var topController = UIApplication.shared.windows.first!.rootViewController {
while let presentedViewController = topController.presentedViewController {
topController = presentedViewController
}
topController.dismiss(animated: true)
}
I found a workaround to enforce the outlined symbol:
let symbolConfiguration = UIImage.SymbolConfiguration(weight: .medium)
let image = UIImage(systemName: "doc.append", withConfiguration: symbolConfiguration)
Image(uiImage: image!)