ios - 如何删除 uiimage pickercontroller 上的黑色导航栏
<p><p>如何移除 UIimage 选择器上的黑色导航栏
我们使用视频模式
已经编写了隐藏导航栏和相机控件和工具栏的代码</p>
<p>那是</p>
<pre><code>picker = [ init];
picker.sourceType = sourceType;
picker.delegate = self;
picker.allowsEditing = NO;
picker.showsCameraControls = NO;
</code></pre>
<p> <img src="/image/hb2fl.png" alt="enter image description here"/> </p></p>
<br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
<p><pre><code>picker.cameraViewTransform = CGAffineTransformScale(imagePickerController.cameraViewTransform, 1, 1.32 );
</code></pre>
<p>试试这个你可以解决问题</p>
<pre><code>picker = [ init];
picker.sourceType = sourceType;
picker.delegate = self;
picker.allowsEditing = NO;
picker.showsCameraControls = NO;
</code></pre></p>
<p style="font-size: 20px;">关于ios - 如何删除 uiimage pickercontroller 上的黑色导航栏,我们在Stack Overflow上找到一个类似的问题:
<a href="https://stackoverflow.com/questions/24429714/" rel="noreferrer noopener nofollow" style="color: red;">
https://stackoverflow.com/questions/24429714/
</a>
</p>
页:
[1]