iOS7中的MKAnnotation标题宽度问题

时间:2013-10-31 11:00:26

标签: ios7 mkannotation mkannotationview

iOS7中Annotation内的标签宽度有问题。标题和字幕标签的宽度似乎比iOS7中的要求宽,文本被右侧的注释气泡剪切。

    // Set some coordinates for our position
CLLocationCoordinate2D location;
location.latitude = (double) 51.501468;
location.longitude = (double) -0.141596;

// Add the annotation to our map view
MapViewAnnotation *newAnnotation = [[MapViewAnnotation alloc] initWithTitle:@"POI djhkdjsahkljdhsakljhdlka01234" andCoordinate:location];

[self.mapa addAnnotation:newAnnotation];

0 个答案:

没有答案