Skip to content

[DevMenu] (AlertView / ActionSheet) is not activated when a view controller is presented modally #2063

@hokster7

Description

@hokster7

Reproduction:

  1. Present a simple UIViewController with vc.modalPresentationStyle = UIModalPresentationFormSheet
  2. Shake the device.
  3. Observe that the following error is produced:
Warning: Attempt to present <UIAlertController: 0x7fba7bd348f0>  on <UIViewController: 0x7fba7bf4a1e0> which is already presenting <UIViewController: 0x7fba7bee1d90>

I've run into this issue because I put a RootView into a modally presented formsheet, and wish to test solely that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions