requiresPerObjectAuthorization()
Returns a Boolean that indicates whether the data type requires per-object authorization.
Declaration
func requiresPerObjectAuthorization() -> BoolDiscussion
If this method returns true, you must call requestPerObjectReadAuthorization(for:predicate:completion:) each time you want to query for the data type. The user can then select the individual samples that the app has permission to read. The system always prompts the user for permission, regardless of whether they’ve previously granted permission.