2010-07-01 5 views

답변

0

MKMapView 네트워크에서 데이터를 얻을 수 NSURLConnection를 사용합니다. 당신이 할 수있는 한 가지는, 캐시 크기를 0으로 설정하면 연결을 항상 서버로 보내고 데이터를 업데이트 할 것입니다.

NSURLCache *sharedCache = [[NSURLCache alloc] initWithMemoryCapacity:0 diskCapacity:0 diskPath:nil]; 
[NSURLCache setSharedURLCache:sharedCache]; 
[sharedCache release];