question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[iOS] Unable to call DisplayAlert() or DisplayActionSheet while opening PopupPage on a Push-Modal Page

See original GitHub issue

Calling a DisplayAlert() or DisplayActionSheet() in PopupPage in iOS will not show any alertViewController. Instead a warning message is shown as below.

Warning: Attempt to present * on * which is already presenting (null)

This works on Android as it only use AlertDialog.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
rotorgamescommented, May 16, 2016

@ShahmanTeh Confirmed

0reactions
rotorgamescommented, Oct 5, 2016

Fix in v1.0.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

xamarin.forms - DisplayAlert from ViewModel not displaying
You can change your constructor of ViewModel like following code. public PersonsViewModel(ContentPage page){ page.DisplayAlert("info","test" ...
Read more >
Display Pop-ups - Xamarin
Forms has three methods on the Page class for interacting with the user via a pop-up: DisplayAlert , DisplayActionSheet , and DisplayPromptAsync ...
Read more >
Display pop-ups - .NET MAUI
NET MAUI) has three methods on the Page class for interacting with the user via a pop-up: DisplayAlert, DisplayActionSheet, ...
Read more >
Using the Page Dialog Service
Simply request this service via the constructor of your ViewModel, and call either the DisplayAlert, or DisplayActionSheet to invoke the desired ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found