uniapp uses the camera component IOS rounded corner does not take effect

 Code:

<view class="cameraView gui-margin-top">
	<camera class="camera-box" device-position="front" flash="off">
	</camera>
</view>

.cameraView{
	width: 600rpx; 
	height: 600rpx;
	border-radius:50%;
	border:10rpx soild #2196F3;
	overflow:hidden;
	-webkit-backface-visibility: hidden;
	-webkit-transform: translate3d(0, 0, 0);
}
.camera-box{
	width: 100%; height: 100%;border-radius:50%;overflow: hidden;
}

key code:

-webkit-backface-visibility: hidden;
-webkit-transform: translate3d(0, 0, 0);

Guess you like

Origin blog.csdn.net/qq_38517231/article/details/130871754