是否可以像系统相机应用程序那样制作持久的全屏相机?
我正在构建一个自定义相机应用程序,并且希望相机视图类似于 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
目前您无法对视频执行此操作,但在 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.