Hey! That was my issue as well, and I didn't find a solution to it. I've basically tried to work my app around these limitations, but if anyone finds a solution, trust me, I would be thrilled. If you are getting the black box in dark mode you should be able to flip your device to light mode to get a white box if that helps. If one of the two colors is better for you, you can also lock you app in light or dark mode to keep it that way for your users. Hopefully this helps some!
Post
Replies
Boosts
Views
Activity
Hey Tim! I just answered Joseph's post above so hopefully that helps!
Hey Joseph! So sorry it took me so long to see this. I've had a very frustrating time trying to figure out how to use Apple's various Screen Time API frameworks, so I am happy to help! This was the GitHub file that helped me the the most in setting up my application. I altered it for my app, but it helped a lot. If you are still struggling after looking this over let me know and I'm happy to help where I can!
https://github.com/PedroSomensi/DeviceActivity
Thank you so much! That's really helpful to know, glad I wasn't just missing something obvious. I will open a bug request as well because it would definitely be helpful to get that fixed. Thanks once again for the help, you saved me a lot of future wasted time!