Melotox
iOS app · a one-minute musical pause before you scroll · planning, design and development by me · 2026

Melotox, from melody and detox, is an iOS app I planned, designed and built on my own. When you open an app you have chosen to limit, Melotox does not lock you out. It asks you to stop for one minute of music first. I wrote it up as a full development proposal for the 2026 Korea High School AI and Software Development Competition.
Why I built it
According to the 2023 Smartphone Overdependence Survey by Korea’s Ministry of Science and ICT and the National Information Society Agency, 40.1% of young people aged 10 to 19 are at risk of smartphone overdependence, the highest of any age group. Four in ten, in other words, and I am in that age group.
- We open apps out of habit. Not because we need them, but because the hand gets there first: social media, short videos, games. The problem is less the hours than the moment of opening without thinking.
- Blocking does not last. Being locked out makes people push back. They switch the blocker off or delete it, and the effect is gone.
- What helps is noticing. A short pause at the moment of opening, with a real question, filters out the impulse while leaving the choice with the person.
A pause, not a block
The line I built it around is a mindful pause before you scroll. Instead of stopping you from using an app, Melotox turns the moment you open it into one minute of focus.
- Ordinary blockers lock the app when time runs out, cause frustration, and end up switched off. The person never gets to decide.
- Melotox asks whether you really need the app, turns the next minute into music and a small rhythm game, lets you choose your own time from 1 to 60 minutes, and shows your progress in what you refused and what you completed.
How it works
- You open a limited app. Apple’s Screen Time shield catches it first.
- One question. “Do you really need this app right now?” If you answer no, the app does not open and Melotox records a refusal.
- The Melody Gate. Sixty seconds of music and a rhythm interaction that you have to finish.
- You choose your time. Anywhere from 1 to 60 minutes.
- It locks again by itself when the time is up.
If you lose the rhythm during the Melody Gate, the screen says Rhythm lost and you start again. It cannot be skipped by waiting.
The Melody Gate
A glowing orb drifts across the screen and changes direction every five seconds. For sixty seconds you follow it with your finger, while the orb and an equaliser react to the volume of the music. Calm phrases such as Take a deep breath and Relax your shoulders change every 4.5 seconds, ten of them in all.
- 60 seconds per session, and it only counts if you finish.
- 85 points around the centre of the orb is the area that counts as following it.
- About 3 seconds off the orb in total is allowed. Beyond that, the session fails and you try again.
I tuned those numbers so the minute needs real attention without becoming frustrating. That balance is the whole design: hard enough that you cannot do it on autopilot, gentle enough that it feels like rest.
What it does
- Choose the apps to limit through iOS Screen Time, such as social media and games.
- The question each time a limited app opens, answered yes or no.
- The Melody Gate: sixty seconds of ambient music and orb following, with a retry if you fail.
- Your own time limit of 1 to 60 minutes, after which the app locks again.
- Activity statistics: unlocks today, streak of days, total sessions and number of refusals.
- Account and protection settings: sign in with Apple or Google, a nickname, and protection on or off.
How it is built
Melotox is about 5,700 lines of Swift across 82 source files, with three iOS app extensions and ten domain use cases. I designed it in four layers following clean architecture, with MVVM for the screens, so the core logic stays separate from everything that can change around it.
- Language and interface: Swift 6, SwiftUI for the screens, and SpriteKit for the 60 frames per second interaction.
- Usage limits: Apple’s Screen Time API (FamilyControls, ManagedSettings and DeviceActivity) to choose, shield and time apps.
- App extensions: ShieldConfiguration, ShieldAction and DeviceActivityMonitor handle the shield screen and expiry outside the app, sharing data through an App Group.
- Audio: AVFoundation plays the music and measures its volume in real time to drive the visuals.
- Accounts and data: Firebase Auth and Firestore, with Apple and Google sign-in and user profiles.
- Security: session tokens kept in the Keychain.
How I will know it works
- Fewer impulsive opens. Asking once at the moment of opening filters out habit. Measured by the refusal rate: refusals divided by all attempts.
- Less tension, attention back. A minute of music and breathing phrases lowers stress and turns attention around. Measured by the Melody Gate completion rate.
- More self-control. Choosing your own time builds a sense of control and responsibility. Measured by the trend in average unlock time.
- A habit that sticks. Streaks and statistics keep the change visible and the motivation going. Measured by streak length and return rate.
Melotox is not a treatment. It is a pause, and these are the numbers I will use to see whether the pause changes anything.
Who it is for, and how it could sustain itself
- Students preparing for exams and high school students who want to stop opening short videos and social media in the middle of studying.
- University students and people in their twenties who want to manage particular apps rather than block the whole phone.
- Anyone interested in digital wellbeing who wants a gentler way to manage their habits.
Compared with blockers, which force a lock that people get around by switching them off, and with waiting apps, where you just sit through a few seconds, Melotox asks for one minute of music and rhythm that you have to complete. It feels like rest rather than punishment, and it cannot be skipped. It will be released on the App Store for iOS 17 and later. The core features are free, a premium subscription would add music packs, themes and detailed reports, and wellbeing programmes for schools, academies and companies are a further route.
Where it is now
- March 2026: foundations. Clean architecture and the Screen Time structure.
- May 2026: the core flow. The question, the Melody Gate, choosing your time and statistics.
- August 2026: accounts and immersion. Firebase sign-in, effects that react to the music, the calm phrases.
- Next: beta testing and an App Store release.
- From 2027: AI personalisation that predicts the hours when someone is most at risk, writes questions for them and suggests music and difficulty, then an Android version and programmes with schools and families.
Why it matters to me
Melotox is the software version of the argument my art keeps making. Psychedelic Peace shows the loop of stress clearly and then lets music lead the way out. Melotox does the same in the one place most of us actually meet that loop, the moment our thumb reaches for an app. Building it on my own, from the research and the proposal to the code, the business model and the plan for release, is how I learned what it takes to turn an idea about people’s wellbeing into something they can actually use.
Why it matters for what I want to study
The 40.1% figure is about my own age group, and it is a human development question: adolescence is when self-regulation is still forming, and the habits built now tend to last. How young people in different countries grow up with phones, and what helps them build control rather than having it imposed, is one of the things I most want to study.
