是否可以像系统相机应用程序那样制作持久的全屏相机?

发布于 2024-08-12 06:56:05 字数 117 浏览 1 评论 0原文

我正在构建一个自定义相机应用程序,并且希望相机视图类似于 iPhone 中的本机相机应用程序。 (即,选择视频作为非模态视图,在拍摄每个视频后保留在相机视图中。我发现重拍和使用视图是不必要的)。有什么可行的办法吗?谢谢。

I am building a custom camera app, and would like to have the camera view similar to the native camera app in iPhone. (i.e., picks videos as a non-modal view, stays in the camera view after each video taken. I found the retake and use views unnecessary). Is there any possible way to do it? Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

握住我的手 2024-08-19 06:56:05

目前您无法对视频执行此操作,但在 OS 3.1 中可以对静态图片执行此操作。如果您搜索“takePicture”和“cameraOverlayView”,您应该会找到有用的信息;您可以将预览窗口的大小调整为您喜欢的任何大小。

you can't do it for videos at present, but you can do it for still pictures in OS 3.1. if you search for "takePicture" and "cameraOverlayView" you should find helpful information; you can resize the preview window to be any size you like.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文