iOS 7.0 で NSMutableAttributedString を表示する際に問題が発生していますが、他のバージョンではうまく機能しています。特に、この問題は、map_zoomLevel の値が 14 を超えたときにストロークの色が原因で発生します。ストロークの色を削除すると、完全に機能します。なぜこれが起こっているのかわかりません。助けてください。私に問題を与えるコードは以下のとおりです-
NSMutableParagraphStyle *mutParaStyle=[[NSMutableParagraphStyle alloc] init];
[mutParaStyle setAlignment:NSTextAlignmentCenter];
NSMutableAttributedString *attStr=[[NSMutableAttributedString alloc]initWithString:_title attributes:@{NSFontAttributeName:[UIFont systemFontOfSize:fontsize+((map_zoomLevel-4)*1.2)],NSParagraphStyleAttributeName:mutParaStyle,NSForegroundColorAttributeName:[UIColor whiteColor],NSStrokeColorAttributeName:[UIColor whiteColor]}];
[attStr drawInRect:CGRectMake(0,_playMapPin.frame.origin.y+_playMapPin.frame.size.height+1, 200, 100)];
_playMapPin のフレームは、好きなように想定できます。