I have an app in which I was using the following code to create an outlined text for my labels.
self.label1.attributedText = [[NSAttributedString alloc] initWithString:fourthString attributes:@{NSStrokeColorAttributeName:[UIColor blackColor],NSForegroundColorAttributeName:[UIColor whiteColor],NSStrokeWidthAttributeName:@-2.0}];
All of the sudden it stopped working with the warning Thread 1: EXC_BAD_ACCESS (code=2, address=0x16b5c7e50) and could not execute support code to read Objective-C class data in the process. This may reduce the quality of type information available.
If I change it to
self.label2.text = fourthString:
it works fine. What happened