简体   繁体   中英

Xamarin Forms PCL how to PushAsync From iOS customRenderer

I struggling to find a solution to this Lets hope someone can point me to the right direction.

I need to Navigate to a Forms ContentPage like:

Navigation.PushAsync(new ExamplePage());

but then from my CustomRenderer class in my iOS project. How can i achieve this ?

Why you want to do this?

Since im making a CustomRenderer for my WebView and i want to redirect an Url to my internal Forms ContentPage in the ShouldStartLoad event.

您可以将event添加到CustomWebView ,然后从渲染器中引发。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM