【发布时间】:2017-06-07 16:35:58
【问题描述】:
我正在使用此代码示例通过 https 协议加载页面,但我无法使其工作:https://github.com/TheRealAdamKemp/AuthenticatedWebView
我使用“https://www.google.com”作为网页,但什么也没有。我还尝试在 Info.plist 中添加应用安全权限。我总是得到一个空白页。
谁能给我解释一下为什么?
【问题讨论】:
-
试着把 url 像这样 "google.com"
-
你找到解决办法了吗?
-
尝试使用 http 而不是 https ,另一件事尝试使 WebView.HorizontalOptions = LayoutOptions.FillAndExpand; WebView.VerticalOptions = LayoutOptions.FillAndExpand;
标签: ios webview xamarin.forms