diff --git a/apps/mobile/modules/audio-output/ios/AudioOutputModule.swift b/apps/mobile/modules/audio-output/ios/AudioOutputModule.swift index 6fbcde6..b999d58 100644 --- a/apps/mobile/modules/audio-output/ios/AudioOutputModule.swift +++ b/apps/mobile/modules/audio-output/ios/AudioOutputModule.swift @@ -7,24 +7,37 @@ public class AudioOutputModule: Module { View(AudioOutputView.self) { Prop("tint") { (view: AudioOutputView, color: UIColor) in - view.picker.tintColor = color + view.icon.tintColor = color } } } } final class AudioOutputView: ExpoView { - let picker = AVRoutePickerView() + private let picker = AVRoutePickerView() + let icon = UIImageView( + image: UIImage( + systemName: "airplay.audio", + withConfiguration: UIImage.SymbolConfiguration(pointSize: 27, weight: .semibold) + ) + ) required init(appContext: AppContext? = nil) { super.init(appContext: appContext) picker.prioritizesVideoDevices = false picker.backgroundColor = .clear + // Keep the native picker interactive without its route-dependent icon styling. + picker.layer.opacity = 0 addSubview(picker) + icon.contentMode = .center + icon.isUserInteractionEnabled = false + icon.isAccessibilityElement = false + addSubview(icon) } override func layoutSubviews() { super.layoutSubviews() picker.frame = bounds + icon.frame = bounds } }