【发布时间】:2016-07-25 09:39:29
【问题描述】:
我正在努力寻找解决方案 希望有人能指出正确的方向。
我需要导航到 Forms ContentPage 之类的:
Navigation.PushAsync(new ExamplePage());
然后来自我的 iOS 项目中的 CustomRenderer 类。
我怎样才能做到这一点?
为什么要这样做?
因为我为我的WebView 制作了一个CustomRenderer
我想在ShouldStartLoad 事件中将Url 重定向到我的内部Forms ContentPage。
【问题讨论】:
-
您可以将
event添加到您的CustomWebView,然后从渲染器中提升。 -
TY 那是我自己没想到的愚蠢的事情:)
标签: c# ios xamarin xamarin.ios xamarin.forms