For the moment I am just taking the getNormalizedPoints output from above and converting them to image coords:
// denormalize the points and convert them to image coords
let denormalizedPoints = normalizedPoints.map { normalizedPoint in
let x = normalizedPoint.x * imageSize.width
let y = (1 - normalizedPoint.y) * imageSize.height // Flip y-axis because normalized points have (0,0) at bottom-left
return CGPoint(x: x, y: y)
}
Post
Replies
Boosts
Views
Activity
I'm actually having a similar problem on Xcode 16.0 but with pointsInImage(imageSize:).
Whenever I call it I get EXC_BAD_ACCESS. This code has been working just fine in Xcode 15 (and many other version before that).
Is there a workaround for that?
Thanks!
I can confirm that only the Account Holder can request the unlisted app distribution. I had an admin account and I got the "cannot view this page" error until I became the Account Holder.
Did you ever get a response for the unlisted app request? How long did it take?
None of that is possible with the existing API. You do not get access to ScreenTime stats, nor can you display your own shield (or switch to your app).
Yes, that is exactly how I read it.
That is what they seem to suggest. The result was all the same regardless if ScreenTime was enabled by the guardian for the child devices in the Screen Time app or not.
Are you sure the child apps are listed on the parent device? I can only see the categories, when I expand them, they are always empty.
Updating the ManagedSettingsStore.shield.applications when the schedule interval begins does not seem to have any effect on the shielded apps. Applying the selection from the main app directly from the selection callback seems to work.