Policy enforcement and revoking for iOS