I'm trying to add a View (specifically a UIImageView) to every page of a pagenated UIWebView on iPhone/iPad. My end goal is to open a PDF and have a signature box at the bottom of every page of the (possibly multipaged) PDF. I followed this tutorial to use a UIImageView as a signature box and this tutorial to successfully open a PDF in a UIWebView.
My plan was to programmatically get each "page" of a UIWebView and add my signature box at the bottom of each page (stack the views one on top of another). Is it possible to get each page of a UIWebView? Does cocoa know where each page is or does it do some fancy math calculations to know where to put line breaks?
Ideally, there would be something like:
for(UIView *page in webView.pages){
[self addSignatureBox:page];
}