user1535467
user1535467

Reputation: 61

Is it possible to have a custom region shape? Core Location

For example at least I want a square/rectangle/ the shape of the road to be my region.

Upvotes: 2

Views: 792

Answers (1)

Jeff Ames
Jeff Ames

Reputation: 1554

No it is not. As per the the documentation, currently the only region classes are CLCircularRegion, which is obviously circular, and CLBeaconRegion which is based on the proximity to an iBeacon. It is possible in the future that apple will add support for custom shaped regions but as of iOS 8, this is it.

https://developer.apple.com/LIBRARY/ios/documentation/CoreLocation/Reference/CLRegion_class/index.html#//apple_ref/occ/cl/CLRegion

Upvotes: 2

Related Questions