diff --git a/changes/2039.misc.rst b/changes/2039.misc.rst new file mode 100644 index 0000000000..87b0c6d54d --- /dev/null +++ b/changes/2039.misc.rst @@ -0,0 +1 @@ +Fixing a bug introduced in #1969 that clashes the dialog display on iOS diff --git a/iOS/src/toga_iOS/dialogs.py b/iOS/src/toga_iOS/dialogs.py index a0a8bce386..1448bf8fa6 100644 --- a/iOS/src/toga_iOS/dialogs.py +++ b/iOS/src/toga_iOS/dialogs.py @@ -28,7 +28,7 @@ def __init__(self, interface, title, message, on_result=None): self.populate_dialog() - interface.window._impl.controller.presentViewController( + interface.window._impl.native.rootViewController.presentViewController( self.native, animated=False, completion=None,