字体大小如何更改MKAnnotation标题和副标题这是我的代码我怎样才能改变MKAnnotation标题和副标题
Newclass *ann1 = [[Newclass alloc] init];
ann1.title = namef1;
ann1.subtitle = @"";
ann1.coordinate = place1.center;
[mapView addAnnotation: ann1];
我搜索使用
UIFont *size = [UIFont systemFontOfSize:17];
CGSize textsize = [ann1.title sizeWithAttributes:@{NSFontAttributeName:size}];
但建立这个代码,它显示未使用的可变文字大小
有改变注释的标注的标题/字幕字体没有内置的规定。 – matt