Creating Objective-C function that checks when headphones are plugged/unplugged on MacOS Hello! I need assistance writing an Objective-C function that can interface with the game engine Unity and listen for changes in built-in output and see if headphones are or are not currently connected to a Mac device. Developer Tools & Services Xcode macOS Xcode Objective-C Audio 0 0 498 Oct ’23