Did you used CLRegion? How its working?



Did you used CLRegion? How its working?..

Answer / babu

CLRegion class defines a geographical area that should be tracked After you create a region, you must register it with a CLLocationManager object. The location manager generates appropriate events whenever the user crosses the boundaries of the region.

You ca use the delegate to perform your necessary operations

- (void)locationManager:(CLLocationManager*)manager didExitRegion:(CLRegion *)region

- (void)locationManager:(CLLocationManager *)manager didFailWithError:(NSError *)error

- (void)locationManager:(CLLocationManager*)manager didExitRegion:(CLRegion *)region

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Apple iOS Interview Questions

Difference between release and autorelease ?

0 Answers  


Difference between retain and assign ?

1 Answers  


What is a singleton?

1 Answers  


What is spritekit and what is scenekit?

0 Answers  


What are lifecycle events of uiviewcontroller?

0 Answers  






What is iphone screen size?

0 Answers  


How do you check if your code has memory leaks?

0 Answers  


. Name the framework that is used to construct application’s user interface for iOS. 

1 Answers  


What are selectors in objective-c?

0 Answers  


What is storyboard?

0 Answers  


Explain the features is ios 6?

0 Answers  


What are the different delete rules that a relationship can have? Which one takes ownership?

0 Answers  


Categories