the Reverend
the Reverend

Reputation: 12559

CLRegion from address

Is there a way to get a CLRegion from an address ? I want to use startMonitoringForRegion:desiredAccuracy: to monitor when an address is entered.

Upvotes: 0

Views: 281

Answers (1)

progrmr
progrmr

Reputation: 77271

Not directly. Convert the street address to a latitude/longitude using forward geocoding which will give you the CLRegion center point. Then you need to pick a radius and you can create the region with initCircularRegionWithCenter:radius:identifier:

Upvotes: 3

Related Questions