How can i get CLCircularRegion center value in ios 7?

487 Views Asked by At

Am Working on Geo-Fence Application .When i was inside the Region log is printing like

Region is - CLCircularRegion (identifier:'10', center:<+13.04392382,+80.18383026>, radius:700.00m).

Here how can i get a center value in IOS 7?

1

There are 1 best solutions below

2
Fogmeister On

Read the documentation.

The class CLCircularRegion has a property center.

CLCircularRegion *region = //your region

CLLocationCoordinate2D centerPoint = region.center;

Please at least read the documentation before posting a question.