
How I Built an iPhone App That Unlocks Screen Time With Exercise
This story was originally published on HackerNoon at: https://hackernoon.com/how-i-built-an-iphone-app-that-unlocks-screen-time-with-exercise.
Counting push-ups from Vision body pose with one state machine, and what Screen Time's shields, callbacks and 20-activity limit really allow.
Check more stories related to programming at: https://hackernoon.com/c/programming.
You can also check exclusive content about #ios, #swift, #computer-vision, #screen-time, #iphone-app-blocker, #swiftui-development, #exercise-based-app-unlock, #iphone-fitness-tracking, and more.
This story was written by: @treamz. Learn more about this writer by checking @treamz's about page,
and for more stories, please visit hackernoon.com.
An iPhone app blocker that unlocks for exercise: Vision body pose reduces each exercise to one number, one hysteresis state machine counts push-ups, squats, sit-ups, pull-ups and jumping jacks, and Apple's Screen Time API (shields, DeviceActivity callbacks, a 20-activity limit) decides what a third-party app can actually lock and when.
More episodes from "Programming Tech Brief By HackerNoon"



Don't miss an episode of “Programming Tech Brief By HackerNoon” and subscribe to it in the GetPodcast app.








