Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/three.js/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios twitter嵌入视频全屏不在全屏模式下工作_Ios_React Native_Webview_Uiwebview_Twitter Widget - Fatal编程技术网

Ios twitter嵌入视频全屏不在全屏模式下工作

Ios twitter嵌入视频全屏不在全屏模式下工作,ios,react-native,webview,uiwebview,twitter-widget,Ios,React Native,Webview,Uiwebview,Twitter Widget,我使用这个pkg来实现这个twitter小部件 虽然渲染效果很好,但唯一的问题是,仅在iOS中,它在全屏模式下无法正常工作 示例HTML代码: { this.webview=ref; }} //onSizeUpdated={this.onSizeUpdated} {……这个。道具} 样式={{width:_w} scrollEnabled={this.props.scrollEnabled | | false} javaScriptEnabled={true} startInLoadingSt

我使用这个pkg来实现这个twitter小部件 虽然渲染效果很好,但唯一的问题是,仅在iOS中,它在全屏模式下无法正常工作

示例HTML代码:

{
this.webview=ref;
}}
//onSizeUpdated={this.onSizeUpdated}
{……这个。道具}
样式={{width:_w}
scrollEnabled={this.props.scrollEnabled | | false}
javaScriptEnabled={true}
startInLoadingState={this.props.startInLoadingState}
onNavigationStateChange={this.onNavigationStateChange}
onShouldStartLoadWithRequest={this.onShouldStartLoadWithRequest}
allowsInlineMediaPlayback={true}
MediaPlaybackRequiresSerAction={false}
viewportContent={'width=设备宽度,用户可扩展=否'}
/>
<AutoHeightWebView
                ref={(ref) => {
                  this.webview = ref;
                }}
                // onSizeUpdated={this.onSizeUpdated}
                {...this.props}
                style={{ width: _w }}
                scrollEnabled={this.props.scrollEnabled || false}
                javaScriptEnabled={true}
                startInLoadingState={this.props.startInLoadingState}
                onNavigationStateChange={this.onNavigationStateChange}
                onShouldStartLoadWithRequest={this.onShouldStartLoadWithRequest}
                allowsInlineMediaPlayback={true}
                mediaPlaybackRequiresUserAction={false}
                viewportContent={'width=device-width, user-scalable=no'}
/>