After some investigation I found that changing UITextView.appearance().textColor will also change the text annotation in the QLPreviewController which I think should be reported as a bug. Sadly we need the textColor implementation so that by default all UITextViews use it so now I am looking into ways to exclude the QLPreviewController from it.