skip to Main Content

iOS 16 FairPlay Changes – Ios swift

Are there any changes in FairPlay logic? My app has FairPlay protected Videos and Audio, they work perfectly until iOS 15.7, but in iOS 16 makeStreamingContentKeyRequestData is throwing me following error : Error Domain=CoreMediaErrorDomain Code=-19152 "(null)" Error Domain=AVFoundationErrorDomain Code=-11800 "The…

VIEW QUESTION

Call objc code that throws exception in Swift – Ios swift

I have this code in ObjC/C: AVCaptureFocusMode GetFocusModeWithString(NSString *mode) { if ([mode isEqualToString:@"locked"]) { return AVCaptureFocusModeLocked; } else if ([mode isEqualToString:@"auto"]) { return AVCaptureFocusModeAutoFocus; } else { @throw [NSError errorWithDomain: @"FocusError", code: 12]; } } It used to be working…

VIEW QUESTION
Back To Top
Search