.confirmationDialog not working as expected in iOS 26.1

I'm trying to add a confirmationDialog to an app, so that the user can select an option from a menu that comes up from the bottom of the screen. This works perfectly for an iOS 18 simulator, but the behavior changes when the simulator is running iOS 26.1.

Is this the intended behavior of .confirmationDialog in iOS 26.1?

Thank you for your post. And thanks for the 2 images showing the behavior for the confirmation dialog:

https://developer.apple.com/documentation/swiftui/view/confirmationdialog(_:ispresented:titlevisibility:presenting:actions:)-9ibgk

A comprehensive documentation exists regarding Liquid Glass, which may explain certain changes. However, it is noteworthy that controls now exhibit subtle variations in default behavior to align with the updated UI. While you can still anchor or modify controls to achieve your desired outcomes, I personally recommend retaining the new iOS behavior.

https://developer.apple.com/documentation/technologyoverviews/adopting-liquid-glass

However, if the default behavior of any control does not align with your requirements, I recommend customizing it instead of requesting an enhancement. I see you are using iOS 26.1 simulator, have you downloaded the new Xcode in beta and try the new beta iOS simulators?

Albert Pascual
  Worldwide Developer Relations.

.confirmationDialog not working as expected in iOS 26.1
 
 
Q