Post

Replies

Boosts

Views

Activity

Reply to Audio Airplay with Multiple AVPlayers
Thanks, that was a good thought! It was getting set to default on our end. So I added additional logging and code to switch it to default any time that it wasn't. But it appears that when connected to airplay, it switches the route sharing policy to long-form audio when audio is played. When I disconnect and play audio from the phone's internal speaker, it doesn't change unexpectedly and stays set to default. So it does seem to be an issue with the route sharing policy. Know of any reason it would be getting switched to long form audio unexpectedly while using airplay?
Jul ’20
Reply to How to access color from an asset catalog in a shared framework in a watchOS app?
This is a hack, but I created an objc header to make the UITraitCollection definition available to watchOS. This allowed for the UIColor(named name: String, in bundle: Bundle?, compatibleWith traitCollection: UITraitCollection?) method to be accessed. Objc header file added to the framework: #if TARGET_OS_WATCH @import UIKit; @interface UITraitCollection : NSObject @end #endif
Mar ’21