提交 4bd71a22 编写于 作者: DCloud_iOS_XHY's avatar DCloud_iOS_XHY

get-native-view 示例添加说明 iOS平台真机运行时需要安装 Xcode 开发工具具备 UTS 开发环境,或提交自定基座打包后 checkNativeView 相关方法才会生效

上级 1d5d7925
......@@ -2,7 +2,8 @@
<view id="view" style="flex: 1;">
<input id="input" value="input" class="input" />
<textarea id="textarea" value="textarea" class="textarea" />
<web-view id="webview" src="/hybrid/html/local.html" class="web-view"></web-view>
<web-view id="webview" src="/hybrid/html/local.html" class="web-view"></web-view>
// 注意实现:iOS平台真机运行时需要安装 Xcode 开发工具具备 UTS 开发环境,或提交自定基座打包后 checkNativeView 相关方法才会生效
<button class="button" type="primary" @click="checkViewNativeView">检测view标签原生View</button>
<button class="button" type="primary" @click="checkInputNativeView">检测input标签原生View</button>
<button class="button" type="primary" @click="checkTextareaNativeView">检测textarea标签原生View</button>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册