UrbanApps / Armchair

A simple yet powerful App Review Manager for iOS and OSX in Swift
MIT License
1.2k stars 137 forks source link

Multiple Prompts at once #114

Closed NightWarrior closed 6 years ago

NightWarrior commented 6 years ago

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 6 years ago

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.