mirror of
https://github.com/UrbanApps/Armchair.git
synced 2026-11-13 12:13:39 +01:00
AlertController not showing up with warning: Attempt to present UIAlertController on UINavigationController whose view is not in the window hierarchy! #74
Reference in new issue
Block a user
Originally created by @sandeepbol on GitHub (May 15, 2018).
I am notifying Armchair of a significant event from a callback of a async request as follows
but Alertcontroller is not shown and debugger shows
@sandeepbol commented on GitHub (May 15, 2018):
I got around the issue by moving Armchair.userDidSignificantEvent(true) to viewDidAppear:
But will be happy to hear what might be more clean and best approach.