mirror of
https://github.com/UrbanApps/Armchair.git
synced 2026-01-14 06:13:25 +01:00
Multiple Prompts at once #71
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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...
@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.