How to show local file in safari in ios

Hello all,
I am downloading a pdf file in documents folder in iPAD application.
Now I want to show downloaded file in safari /any browser.
I am using showURL method from example Xojo 2016 Release 2/Example Projects/iOS/Declares/ShowURL to open file in safari.
following code did not work .

  dim f as FolderItem=SpecialFolder.Documents.Child("test.pdf")
   if f <> nil then
   dim show as Boolean=ShowURL("http://"+f.URLPath)
    end if

File cannot be open in safari .
Can anyone tell me how to show/open local file in browser in iOS?

You simply cannot open any local files in Safari, because it is sandboxed. Unless Xojo provides in some indeterminate future a ServerSocket, we are stuck.

The only way would probably be HTMLViewer.