This app runs Swift code that detects if user has plugged-in or pulled-out their headphones from an iOS device.
Requires an iOS device and headphones for testing. Will not run on iOS simulator.
Device required warning!
Headphones pulled out
Headphones plugged in