Post

Replies

Boosts

Views

Activity

Reply to Widevine or Fairplay in IOS
Just came across this question. I had to do a lot of searching around for this answer for my own use case. First off Widevine is not officially supported with AVPlayer since it's owned by google, so your only officially supported option is FairPlay. If you have an apple dev account here's the place where all the FairPlay documentation is. There are some examples in here too. https://developer.apple.com/streaming/fps/ also I found this article, which has a lot of helpful implementation info: https://medium.com/@burak.oguz/ios-fairplay-drm-integration-with-different-use-cases-8aff3d4248dd hope that helps
Feb ’22
Reply to Cryptic Crash on iOS 16.2 SwiftUI That Only Happens On Some Devices
If anyone else runs into this ^ I found a working solution here: https://developer.apple.com/forums/thread/716310 This is the code that worked in my case: struct NavStackWorkaround<T: View>: View {   let content: ()->T       var body: some View {     if #available(iOS 16, *) {       NavigationStack(root: content)     } else {       NavigationView(content: content)         .navigationViewStyle(.stack)     }   } }
Feb ’23