Created
          May 26, 2015 21:21 
        
      - 
      
- 
        Save gmertk/dc8dc70986598fc32ed3 to your computer and use it in GitHub Desktop. 
    Stop ranging when exiting a CLBeaconRegion
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | func locationManager(manager: CLLocationManager!, didExitRegion region: CLRegion!) { | |
| if let region = region as? CLBeaconRegion { | |
| manager.stopRangingBeaconsInRegion(region) | |
| } | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment