# Block device setting for Picture in Picture

**URL:** <https://community.bitmovin.com/t/block-device-setting-for-picture-in-picture/1592>\
**Category:** Feature Requests\
**Tags:** ios, bitmovin, pip\
**Created:** [December 22, 2022, 12:05pm UTC](https://community.bitmovin.com/t/block-device-setting-for-picture-in-picture/1592 "2022-12-22T12:05:24Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![mart.zonneveld](https://sea1.discourse-cdn.com/flex015/user_avatar/community.bitmovin.com/mart.zonneveld/32/550_2.png) [@mart.zonneveld](https://community.bitmovin.com/u/mart.zonneveld)\
**Post date:** [January 6, 2023, 12:26pm UTC](https://community.bitmovin.com/t/block-device-setting-for-picture-in-picture/1592/3 "2023-01-06T12:26:02Z")

</div>

Hi David, thanks for your response.  
As the new config is working fine for a regular `PlayerView`-instantiation, it doesn’t work with a custom implementation. This is easily reproducible with the Bitmovin example project with some changes posted by Alberto to achieve the custom implementation:

> [@iOS Picture in Picture player controls visibility](https://community.bitmovin.com/t/ios-picture-in-picture-player-controls-visibility/1504/2):
>
> Hi Mart, Thanks for posting this. Could you please give the below code a try on your end? It’s a modified version of our [BasicPictureInPicture](https://github.com/bitmovin/bitmovin-player-ios-samples/tree/main/BasicPictureInPicture) app after following [this article](https://bitmovin.com/docs/player/tutorials/how-to-get-picture-in-picture-to-work-on-ios-without-bitmovin-web-ui), and it seems to work fine for me both on 3.16.0 and 3.29.0 on iOS16.1. Note that I’m calling self.playerView.enterPiP() instead of self.playerView.enterPictureInPicture() import UIKit import Foundation //added by alberto import BitmovinPlayer //added by alberto class CustomPiPView: PlayerView, AVPictureInPictureContro…

---

_[View the full topic](https://community.bitmovin.com/t/block-device-setting-for-picture-in-picture/1592)._
