Well, after doing some research and recreating from scratch the main QuickLook observer, I found that the error was still logged even from that moment, but in fact documents were displayed that they were not from my original project.
Then I tried putting the QLPreviewController inside the NavigationController before presenting it, and ended up getting the same problem. I wrapped the QLPreviewController in a UINavigationController before presenting it, because it seemed to be a way to assign navigationItem to a custom button. This works fine in iOS 5.1 (as mentioned above), but iOS 6.0 doesn't seem to like it.
Removing the extra code that wrapped the QLPreviewController into a UINavigationController seemed to allow the document to display.
Controller Wrapping Example:
QLPreviewController* previewer = [[QLPreviewController alloc] init]; previewer.dataSource = self; previewer.delegate = self; [previewer setCurrentPreviewItemIndex:0]; UINavigationController* previewNavCtrl = [[UINavigationController alloc] init]; [previewNavCtrl pushViewController:previewer animated:NO]; [self presentModalViewController:previewNavCtrl animated:YES];
Change to:
QLPreviewController* previewer = [[QLPreviewController alloc] init]; previewer.dataSource = self; previewer.delegate = self; [previewer setCurrentPreviewItemIndex:0]; [self presentModalViewController:previewer animated:YES];
Note: again the proxy error still appears in the log, however
ALSO: any UIBarButtonItem settings don't seem to work anymore without NavigationController = /
UPDATE: I found that using fileURLWithpath to generate the url file for previewItemAtIndex made the original error go away. However, the same problem occurs when the document does not load.
New bug (I also saw other people):
Failed to issue file extension for path: / Users / me / Library / Application% 20Support / iPhone% 20Simulator / 6.0 / Applications / 339DDF48-AF93-41B5-B81E-A39440A131C6 / Documents / temp / Welcome1.docx
FINAL UPDATE: Ok the extension problem / error was caused because I tried to manually add% 20 to spaces (using [NSString stringByAddingPercentEscapesUsingEncoding] etc.) when [NSURL fileURLWithPath] should handle this already. As soon as I deleted it, it worked, and I'm now on iOS 6 yay! Thus, the real problem was not related to the UINavigationController, but in fact the file URL was passed through previewItemAtIndex.