I tried with WKWebViewController, but still not working.
url = [[NSBundle mainBundle] URLForResource:@"manual_eos_1d_x" withExtension:@"pdf"];
WKWebViewController * controllerweb = (WKWebViewController *)[segue destinationViewController];
controllerweb.url = url;
It is not possible to show local pdf in SFSafariViewController, but it is possible to display it in a WKWebView. SFSafariViewController only support http and https schemes.
From SFSafariViewController documentation:
From SFSafariViewController init(url:) documentation:
To show local pdf file in WKWebView, you can do something similar to the following code: