Multiple Prompts at once #71

Closed
opened 2025-12-29 18:28:54 +01:00 by adam · 1 comment
Owner

Originally created by @NightWarrior on GitHub (Dec 11, 2017).

If there is a prompt in front and the user locks his phone and then unlocks his phone again, Armchair presents him another prompt in front of the previous one... the user then as to choose an option twice. I checked and it seems i can get as many as i want by repeating the lock unlock process...

Originally created by @NightWarrior on GitHub (Dec 11, 2017). If there is a prompt in front and the user locks his phone and then unlocks his phone again, Armchair presents him another prompt in front of the previous one... the user then as to choose an option twice. I checked and it seems i can get as many as i want by repeating the lock unlock process...
adam closed this issue 2025-12-29 18:28:54 +01:00
Author
Owner

@NightWarrior commented on GitHub (Dec 14, 2017):

Well, i fixed it on my own end... debugged view hierarchy to see what it uses when displaying the prompt, it was a UIAlertController... then before Armchair.showPromptIfNecessary(), I checked if the top view controller in my application is of kind UIAlertController then i skipped the Armchair.showPromptIfNecessary() call.

@NightWarrior commented on GitHub (Dec 14, 2017): Well, i fixed it on my own end... debugged view hierarchy to see what it uses when displaying the prompt, it was a UIAlertController... then before Armchair.showPromptIfNecessary(), I checked if the top view controller in my application is of kind UIAlertController then i skipped the Armchair.showPromptIfNecessary() call.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Armchair#71