You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
[ios] Attribution button in MGLMapView doesn't present alert controller from modal view controller #8782
No change in UI (other than button highlight state). Error shown in console:
Warning: Attempt to present <UIAlertController: 0x7fc73e62f8c0> on
<MapboxModalAttribution.ViewController: 0x7fc73e40cb00> whose view is not in the window hierarchy!
This fixed the issue with the UIAlertController not opening from the attribution button, but the nested telemetry UIAlertController won't open for what appears to be the same issue. I can open a separate issue, but it seems to possibly be the same issue as this one just in a different area.
Activity
ab-rdarts commentedon Apr 20, 2017
I have same problem when pressing "i" button on the map which is on modal view controller.
1ec5 commentedon Apr 25, 2017
This regression was introduced by #8371. Thank you for the suggested fix, @cmoulton!
/cc @friedbunny
fixes #8782: properly show attribution in modal hierarchies
incanus commentedon Apr 27, 2017
Thanks for the excellent demo project and fix @cmoulton!
kmorey commentedon May 11, 2017
This fixed the issue with the UIAlertController not opening from the attribution button, but the nested telemetry UIAlertController won't open for what appears to be the same issue. I can open a separate issue, but it seems to possibly be the same issue as this one just in a different area.
boundsj commentedon May 11, 2017
Thanks @kmorey. Can you please create a new issue for the telemetry controller specifically?