• <bdo id='MX35v'></bdo><ul id='MX35v'></ul>
    <tfoot id='MX35v'></tfoot>
    <i id='MX35v'><tr id='MX35v'><dt id='MX35v'><q id='MX35v'><span id='MX35v'><b id='MX35v'><form id='MX35v'><ins id='MX35v'></ins><ul id='MX35v'></ul><sub id='MX35v'></sub></form><legend id='MX35v'></legend><bdo id='MX35v'><pre id='MX35v'><center id='MX35v'></center></pre></bdo></b><th id='MX35v'></th></span></q></dt></tr></i><div id='MX35v'><tfoot id='MX35v'></tfoot><dl id='MX35v'><fieldset id='MX35v'></fieldset></dl></div>

      <small id='MX35v'></small><noframes id='MX35v'>

    1. <legend id='MX35v'><style id='MX35v'><dir id='MX35v'><q id='MX35v'></q></dir></style></legend>

        Resize UIImagePickerController 视频采集界面

        Resize UIImagePickerController video capture interface(Resize UIImagePickerController 视频采集界面)

          1. <i id='MoYQY'><tr id='MoYQY'><dt id='MoYQY'><q id='MoYQY'><span id='MoYQY'><b id='MoYQY'><form id='MoYQY'><ins id='MoYQY'></ins><ul id='MoYQY'></ul><sub id='MoYQY'></sub></form><legend id='MoYQY'></legend><bdo id='MoYQY'><pre id='MoYQY'><center id='MoYQY'></center></pre></bdo></b><th id='MoYQY'></th></span></q></dt></tr></i><div id='MoYQY'><tfoot id='MoYQY'></tfoot><dl id='MoYQY'><fieldset id='MoYQY'></fieldset></dl></div>

            • <legend id='MoYQY'><style id='MoYQY'><dir id='MoYQY'><q id='MoYQY'></q></dir></style></legend>
              • <bdo id='MoYQY'></bdo><ul id='MoYQY'></ul>

                • <small id='MoYQY'></small><noframes id='MoYQY'>

                    <tbody id='MoYQY'></tbody>
                  <tfoot id='MoYQY'></tfoot>
                • 本文介绍了Resize UIImagePickerController 视频采集界面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我将 splitviewcontroller 用于我的 ipad 应用程序,我需要在 detailViewController 中以 530 像素宽和 360 像素高的尺寸捕获视频.我尝试使用 UIImagePickerController 来捕获视频,但我无法更改视频捕获界面的大小.我无法在应用程序中进行全屏视频捕获.有没有办法调整 UIImagePickerController 的视频捕获界面的大小.非常感谢你的回答.很抱歉没有在这里添加屏幕截图.我的声望统计不允许这样做.

                  I am using splitviewcontroller for my ipad application in which I need to capture video in the detailViewController in a dimension of 530 px width and 360 px height. I tried using UIImagePickerController for capturing video but i am unable to change the size of the video capture interface. I cannot afford a full screen video capture in the app. Is there a way to resize the video capture interface of UIImagePickerController. Thanks a lot for your answers. Sorry for not adding up an screenshot here. My reputation count doesn't permit it.

                  推荐答案

                  据我所知,使用 UIImagePickerController 将无法做到这一点.但是您可以使用 AVCamCaptureManager 和 AVCamRecorder 类轻松完成.Apple 在其开发者网站 这里.它被命名为 AVCam.简单来说就是当你点击打开相机时,它会调用负责打开iPhone相机并录制视频或捕获音频的类和方法.它调用的类与 UIImagePickerController 调用的类相同.

                  You won't be able to do so using UIImagePickerController as far as I know. But you can do it easily using AVCamCaptureManager and AVCamRecorder classes. Apple has a demo program build on its developer site here. It is named AVCam. In simple words what it does is when you click to open the camera, it calls the classes and methods which are responsible for opening the iPhone's camera and record video or capture audio. It calls the same classes which are called by UIImagePickerController.

                  您会在该演示代码中找到一个小的 UIView 对象,该对象显示相机的提要.您可以根据需要调整该视图的大小,并且相机的输入将显示在该区域中.当我想调整相机的输入源并拍摄照片时,它对我有用.我希望它也适用于你.

                  You'll find a small UIView object in that demo code which displays the camera's feed. You can resize that view as per the size you want and the camera's input will be displayed in that much area. It worked for me when I wanted to resize the camera's input feed and capture photos. I hope it works for you as well.

                  这篇关于Resize UIImagePickerController 视频采集界面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  EAAccessory/EASession teardown during background(EAAccessory/EASession 在后台拆除)
                  Getting an NSArray of a single attribute from an NSArray(从 NSArray 获取单个属性的 NSArray)
                  ImageIO: lt;ERRORgt; JPEG Corrupt JPEG data: premature end of data segment iphone - how to catch this?(ImageIO:lt;错误gt;JPEG 损坏的 JPEG 数据:iphone 数据段过早结束 - 如何捕捉到这个?)
                  Xcode iOS organizer submit to app store yields quot;The archive is invalidquot; error(Xcode iOS 管理器提交到应用商店产生“存档无效;错误)
                  MFMessageComposeViewController alloc returns nil(MFMessageComposeViewController alloc 返回 nil)
                  How to add and get the values from .plist in iOS(如何在 iOS 中从 .plist 添加和获取值)

                    <tbody id='d51VE'></tbody>

                  <tfoot id='d51VE'></tfoot>

                      <legend id='d51VE'><style id='d51VE'><dir id='d51VE'><q id='d51VE'></q></dir></style></legend>
                        <i id='d51VE'><tr id='d51VE'><dt id='d51VE'><q id='d51VE'><span id='d51VE'><b id='d51VE'><form id='d51VE'><ins id='d51VE'></ins><ul id='d51VE'></ul><sub id='d51VE'></sub></form><legend id='d51VE'></legend><bdo id='d51VE'><pre id='d51VE'><center id='d51VE'></center></pre></bdo></b><th id='d51VE'></th></span></q></dt></tr></i><div id='d51VE'><tfoot id='d51VE'></tfoot><dl id='d51VE'><fieldset id='d51VE'></fieldset></dl></div>

                          <small id='d51VE'></small><noframes id='d51VE'>

                            <bdo id='d51VE'></bdo><ul id='d51VE'></ul>