title: CLCircularRegion get random points within 1 mile radius
body: <p>So far i've tried generating random latitude and longitude and validating it with "CLLocationCoordinate2DIsValid". But the problem is i never get the coordinate within my specified "CLCircularRegion". Following is the logic i've written:</p>
  
  <pre><code>    CLLocationCoordinate2D myCoordinates = { currentLocationLatitude, currentLocationLongitude };
  
      CLCircularRegion *myRegion = [[CLCircularRegion alloc] initWithCenter:myCoordinates radius:160934 identifier:@"myID"];
  
  
      for (int i=0; i&lt; 15; i++) {
  
      double latitude = (arc4random()%20) + (myCoordinates.latitude);
      double longitude = (myCoordinates.longitude)  + arc4random()%10;
  
      CLLocationCoordinate2D randomCoordinate = CLLocationCoordinate2DMake(latitude, longitude);
  
          if(CLLocationCoordinate2DIsValid(randomCoordinate) != NO)
          {
              NSLog(@"randomCoordinate: %f  %f", randomCoordinate.latitude, randomCoordinate.longitude);
              if([myRegion containsCoordinate:randomCoordinate])
              {
                  NSLog(@"Point contains inside your region.");
              }
          }
  
      }
  </code></pre>
  
  <p>Is anything wrong with this implementation or is there any other way to find random points?</p>