I am getting problem in displaying the NSMutableAttributedString in iOS 7.0 where as working well in other versions. Specially this problem is due to stroke colour when map_zoomLevel value increases over 14, when i remove stroke colour from it, it is working perfectly. Why this is happening i don't know. Please help. The code that giving me problem is below-
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)];
You can assume _playMapPin's frame whatever you want.