Currently I am testing my current version in iOS10. I am using Xcode 8 beta 6 for testing. Here Quicklook/QLPreviewController delegate methods are n
I met this problem too, but I can't fix this issue by your solution.. Here is my code:
QLPreviewController *preview = [[QLPreviewController alloc] init];
[preview setDataSource:self];
[preview setDelegate:self];
if(SYSTEM_VERSION_LESS_THAN(@"10.0"))
{
[self addChildViewController:preview];
}
[preview didMoveToParentViewController:self];
[self.view addSubview:preview.view];