Play music from your phone by genre on shuffle.
Using Xcode, I created this application that takes music from your phone's library and plays it on shuffle. In addition, you can switch genres as well as stop the music or play next. Take a look at the uploaded image file to understand this interaction better.
The Storyboard is as follows:
- Designing three buttons for the different genres of music
- Creating a button for Stop
- Creating a button for Next
- Filling in colors and using desired text
- Adding the constraints: including configuring the width and height of the three genre buttons and then setting Stop and Next to balance within these constraints
After importing the MediaPlayer, which accesses the music from your phone, I made the buttons interactive with the interface specifically on the ButtonScreen.swift page.