Home > Software design >  Cannot find CLCircularRegion in scope in swift
Cannot find CLCircularRegion in scope in swift

Time:09-30

There is an error which states that the analyzer cannot find CLCircularRegion, is it deprecated?

let region = CLCircularRegion(center: coordinates, radius: 100, identifier: UUID().uuidString)

CodePudding user response:

You probably forgot to add the import statement

import CoreLocation
  • Related