After uninstalling the app, ManagedSettingsStore.shield is still active — seems to be an Apple system behavior

  1. I’m using the shielding API, my code:
    let store = ManagedSettingsStore() let whitelist = SharedDefaults.whitelistApplications store.shield.applicationCategories = .all(except: whitelist)

  2. And to clear the shield, my code is:
    store.shield.applications = nil store.shield.applicationCategories = nil

The issue: Some users report that after uninstalling my app, the shield is still active, and the UI changes to the default iOS system interface. Even after restarting the device, the apps on the phone remains locked, so the user has no way to remove the shield.

Recently I’ve received several complaints on social media and App Store comments, accusing my app of being malicious software. This is not a 100% reproducible bug, but it happens frequently enough. I was also able to reproduce it myself by uninstalling the app during an active lock session.

Could Apple engineers please look into this issue and advise how to ensure that once the user uninstalls the app, the device is no longer locked?

After uninstalling the app, ManagedSettingsStore.shield is still active — seems to be an Apple system behavior
 
 
Q