0
UIView에 동적으로 MKMapView를 추가하려고합니다.동적으로 UIView에 MKMapView 추가
self.mapView = [[MKMapView alloc] initWithFrame:self.contentView.frame)];
은 위의 완전히 MKMapView하지만 완벽하게 다음 작품과의 UIView를 기입하지 않습니다 나는 다음과 같은 코드가 있습니다.
self.mapView = [[MKMapView alloc] initWithFrame:CGRectMake(0, 0, self.contentView.frame.size.width, self.contentView.frame.size.height)];
알고 싶은 점은 무엇입니까? ;) – yinkou
첫 번째 문이 UIView를 완전히 채우지 않는 이유를 알고 싶습니다. – johndoe