Post

Replies

Boosts

Views

Activity

glassEffect geometry bug when using rotationEffect
If using .glassEffect or .buttonStyle(.glass) along with .rotationEffect(), the view's geometry grows in size (proportionally to the degrees of the angle): struct ContentView: View { var body: some View { ZStack { Color.red.ignoresSafeArea() VStack { Image(systemName: "globe") .imageScale(.large) .foregroundStyle(.tint) Text("Angle: 30") } .padding() .glassEffect(in: .rect(cornerRadius: 20)) .rotationEffect(.degrees(30)) } } } The expectation is that geometry stays the same, regardless of rotation. This has been a bug in all the betas, and is now also confirmed in Xcode 26 RC and iOS 26 RC.
Topic: UI Frameworks SubTopic: SwiftUI
0
0
216
Sep ’25
Multiplatform project error on Xcode 14 beta: Your target is built for macOS but contains embedded content built for the iOS platform
When creating a new Multiplatform project on Xcode 14 beta and adding a Notification Service Extension Target, compilation fails with: error build: Your target is built for macOS but contains embedded content built for the iOS platform (Notification.appex), which is not allowed. This really limits the usefulness of the new multiplatform single target, especially if we cannot incorporate basic extensions. Is there any way to use single target multiplatform and still have the freedom to add necessary extensions to the app?
3
1
4.0k
Sep ’23
Advanced SwiftUI Navigation, anything new at WWDC21?
SwiftUI has been steadily improving the individual NavigationView component at each WWDC, but advanced navigation scenarios have yet to be addressed: Handling deep links Whole-app programmatic navigation, more than just one level deep (beyond what NavigationLink(selection:) provides) Custom transitions, similar to what UIViewControllerAnimatedTransitioning can provide These are fundamental concepts that every modern app faces. I've looked around in the beta docs to no avail; is there anything this year that moves the needle in SwiftUI for advanced navigation?
0
0
769
Jun ’21