NSForegroundColorAttributeName が動かない、反映されない時の対処法
NSDictionary *stringAttributes = @{ NSForegroundColorAttributeName : [UIColor blackColor],
NSFontAttributeName : [UIFont systemFontOfSize:14.0f],
NSStrokeWidthAttributeName : [NSNumber numberWithFloat:-1],
NSStrokeColorAttributeName : [UIColor whiteColor]
};
NSStrokeWidthAttributeNameの値にマイナス値を入れると解決できます。
ちなみに、この現象は NSForegroundColorAttributeName を設定している時のみ起こるようです。
この方法では、テキストの内側に着色を行いますが、私は外側に行いたいので、結局やりたかったことはできなかったです。