Cannot find 'isAVKitPIPSupported' in scope
I am getting errors as below.

I imported PIPKit into the class.

Help Me ASAP. Thank you in advance.
PIPKit.isAVKitPIPSupported or
AVPIPKitUsable Protocol instead of PIPUsable
if you want use exitPublisher: AnyPublisher<Void, Never>
AVPIPUIKitUsable Protocol instead of AVPIPKitUsable
plz read the AVPIPKitUsable agian
Thank you @Kofktu . I am able to solve the above problem but now I am getting new issues while showing the view controller. I am getting errors as below.

I have used AVPIPKITUsable as you suggested.
PIPUsable != AVPIPKitUsable
PIPUsable is only in app with UIViewController
AVPIPKitUsable is Picture in Picutre in iOS(Apple's AVKit.framework)
@Kofktu Thank you. So if I am having a calling application with screen share so while screen share I need to use pip view. So when I minimize the call, it should work in and outside of the app. so which class should I use for it?
@niteshvaishnani
In this case, you can use AVPIPKitUsable