Kmart, thank you very much for your answers it's really helpful!
Please, help me to clarify one more thing...
As I read here in the comment ManagedSettings has two type of restrictions, shielding and blocking. Is blocking type of restriction available for users with individual type of auth?
If the answer on the first question is "No", does that mean that individual user will be able just to skip the shielding screen and continue to use apps?
If individual user can skip shielding, will it be allowed to do it with a passcode or without, if the passcode wasn't set for Screen Time in the phone settings?
Looking forward to hearing from you
Post
Replies
Boosts
Views
Activity
And also, could we set a restriction for specific app/apps with individual user or this kind of restriction available just for child?
Kmart, thank you very much for your answers it's really helpful!
Please, help me to clarify one more thing...
As I read here in the comment ManagedSettings has two type of restrictions, shielding and blocking. Is blocking type of restriction available for users with individual type of auth?
If the answer on the first question is "No", does that mean that individual user will be able just to skip the shielding screen and continue to use apps?
If individual user can skip shielding, will it be allowed to do it with a passcode or without, if the passcode wasn't set for Screen Time in the phone settings?
Looking forward to hearing from you
All answers are here.
Would you be so kind to clarify one moment here...
You answered:
You cannot restrict all apps on the device, but you can shield all app
Can I block all apps instead of shield them?
The question is old, but for newcomers...
Managed Settings, Family Controls, Device Activity - these three frameworks actually represent the Screen Time API.
Hey once again, Kmart :)
Thank you for the answer! I've tried both variants, and both lead to issues...
Is the Documentation up to date?
Have I been doing something wrong?
Hi Leo and other folks who is stack with this. You need to do next:
You need to request ENTITLEMENT KEYS (com.apple.developer.family-control).
You must do it only from Account Holder. Even if you Admin - you can’t do it. Wait for Apple’s approval. It could takes up to the week. You will receive an email related to Account Holder.
You must do it only from Account Holder. Even if you Admin - you can’t do it. Wait for Apple’s approval.
After you’ve got approval, go to the Identifiers, choose your app’s id, open it. Now you should find Additional Capabilities tab. There should be Family Controls (Distribution) - just Enable it.
Create new Provisioning certificates, download, install.
(Optional) To make sure everything is setup correct, you can do the dump of your new certificate before install it, but this step is not required. If you going to do that, you can check Eskimo's answer, you need to only 5th step.
(Optional) It will be good to clean your Keychain with old certificate related to your app, before you install new one.
Make sure you’ve added Family Controls Capability in the Xcode and you can see it in .entitlements file.
Fingers crossed🤞 Now everything should work 🔥
Glory to Ukraine 🇺🇦
Leo, in case you also faced with this issue or just passed it without any problems, please share you experience.
I'll appreciate it! 🙏
You can find the link to GitHub with the source code mentioned in the video in this answer. Be aware that it's not official, and there are some gaps, but you will noticed it when you compare code with video.
Strange behaviour of selecting multiple apps or category...
for some category (Productivity) I'm able to block all apps
for other category (Entertainment) when I select whole category, there are some apps blocked and some not
for third category (Social) if select all apps, none of them will be blocked
Why it's happening?
Despite the link is broken, it helped. Thank you!
Have the same issue.
Oh, thank you for the detailed explanation! Of course I'd like to see it. These things seems obvious for me, and I actually wondered why it weren't implemented before the API was released.
Is it real chance that Apple will implement it after report via Feedback Assistant?)
Like this?:
let mobilesafari = Application(bundleIdentifier: "com.apple.mobilesafari")
let mobilesafariToken = mobilesafari.token
Fetching Safari's token as above always returns nil...
Systems Engineer, thank you for your reply!
Your example is exactly what I'm doing in the project. I'm using iOS 16.3.1 on the test device.
Tell me please, is there any possibility that version of: macOS, Xcode or Xcode command line tools could have impact on that behaviour?
I'm 100% sure I'm using single ManagedSettingsStore across the app. Btw, could you please share the link or some info in case we using store for iOS15? I'd like to see the mechanism of its synchronisation.
Thank you in advance!