iPlay is a lightweight and modern audio player built using SwiftUI, Core Data, and AVFoundation. It allows you to import audio files, play them with background support, and manage a personalized list of tracksβall in a sleek, Spotify-inspired interface.
- Import
.mp3
or.mp4
audio files from the file system - Store audio metadata using Core Data
- Delete audio tracks with swipe-to-delete
- Play and pause local audio files
- Mini player bar pinned to the bottom (like Spotify)
- Support for Play, Pause, Next, and Previous track actions
- Background audio playback (with audio session configuration)
- Displays track info on the lock screen
- Supports playback controls via Control Center, headphones, or lock screen
- Integrates with
MPNowPlayingInfoCenter
andMPRemoteCommandCenter
- SwiftUI β for declarative UI
- Core Data β for persistent track storage
- AVFoundation β for audio playback
- MediaPlayer β for lock screen and system-level playback integration
- Currently supports
.mp3
and.mp4
audio files - Imported files are copied to the app's local Documents directory
- Clone the repo:
git clone https://github.com/aswanthas/iPlay.git