Well I have 2 problems with the iframe.(on Iphone)
First :
I don't know how to rescale the pdf so it fit's the iframe.
I can rescale the iframe , but then I can only see a part of the pdf file.
The Iframe seems to be a frame on top of the pdf file.
Scrolling in the pdf file from page 1 to 2 etc doesn't work either.
Second:
User should have the possibility to "download" the file ,as they have when they open the pdf fullscreen.
When I put a <a href around the Iframe I have the possibility to open, open in a new page , copy the pdf file. No open in ibooks or open in acrobat or open in dropbox...
When I open this same page in IE it works perfectly. So the problem is how the iphone works with pdf files that are not fullscreen...
The reason I don't want the Iphone user to leave the page is that I made an Xpage Iphone webapp.
As long as the user stays in the same page , the app looks like a real Iphone app.(no url bar on top, no at the bottom)
When the user opens a link with a pdf file, he leaves the page and the url bar is comming up , so the app doesn't look like a real app anymore.