ios - 更改 xamarin.ios 中的 imagePicker 布局
<p><p>我在我的 xamarin.forms 项目中通过 Dependecy 在 ios 中使用 imagePicker
问题是在 ios 设备中我有这个布局:</p>
<p> <a href="/image/d7VWN.png" rel="noreferrer noopener nofollow"><img src="/image/d7VWN.png" alt="enter image description here"/></a> </p>
<p>我看不到状态栏和取消按钮(位于右侧),因为它们和背景都是白色的。
有没有办法更改此图像选择器的顶部栏背景或其他解决方案?</p></p>
<br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
<p><pre><code>imagePicker.NavigationBar.BarTintColor = UIColor.yourcolor
</code></pre>
<p>解决了问题</p></p>
<p style="font-size: 20px;">关于ios - 更改 xamarin.ios 中的 imagePicker 布局,我们在Stack Overflow上找到一个类似的问题:
<a href="https://stackoverflow.com/questions/46655661/" rel="noreferrer noopener nofollow" style="color: red;">
https://stackoverflow.com/questions/46655661/
</a>
</p>
页:
[1]