Post

Replies

Boosts

Views

Activity

Reply to SwiftUI presentationMode dismiss not work on specific case
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) }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Sep ’21
Reply to UITabBar in iOS 15 forces filled SFSymbols (SwiftUI)
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!)
Topic: Design SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’21
Reply to SwiftUI presentationMode dismiss not work on specific case
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) }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’21
Reply to How do I get a tab bar in iOS15 that looks like the one in iOS14?
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?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Sep ’21