record(for:)
A record that contains a condition and the most recent event your app receives.
Declaration
func record(for identifier: String) -> CLMonitor.Record?Parameters
- identifier:
A string that identifies the monitored condition.
Return Value
Returns a CLMonitor.Record, or nil if the system can’t find the identifier.