Actually, it seems like a basic route picker application also shows the issue. See example below:
On a pre iOS 18.4 device, the user can successfully pick a route, on iOS 18.4, it spins forever.
import SwiftUI
import AVKit
@main
struct AirplayTestApp: App {
var body: some Scene {
WindowGroup {
VStack {
Text("Choose output device")
DevicePickerView()
}
}
}
}
struct DevicePickerView: UIViewRepresentable {
func makeUIView(context: Context) -> UIView {
let routePickerView = AVRoutePickerView()
return routePickerView
}
func updateUIView(_ uiView: UIView, context: Context) {}
}
Topic:
Media Technologies
SubTopic:
Audio
Tags: