Created attachment 18142 [details]
When PushAsync() is called from BeginInvokeOnMainThread() immediately after DisplayAlert(), the thread calling PushAsync() hangs in iOS.
## Steps to reproduce
1. Open the attached test project and set breakpoints (3) in the OnStartup event in App.cs near the comments 'Code here is executed' and 'Code here is never executed'.
2. Launch the attached test project to an iOS device or simulator.
The first and second breakpoint should be hit and the device or simulator should open Page 1, show an Alert and navigate to Page 2.
The alert is shown and the first breakpoint, before PushAsync(), is hit, but the others aren't. No exception is thrown and the call to PushAsync() seems to 'hang' (or been aborted).
Also on the device or simulator Page 1 is still shown.
Issue occurs in XF 18.104.22.168, 22.214.171.124 and 126.96.36.199-pre.
Issue occurs on both iOS 9.3 and 10.0.
Should be fixed in 2.3.4-pre1. Thank you!
I have checked this issue with Xamarin.Forms 2.3.4-pre1 and observed that show alert and navigate to page 2.
Hence closing this issue.
Please have a look screencast and let me know If I have missed anything to verify this issue.
It seems to work. Looking forward to the stable version.