I try to use \'paginationMode\' to make my html-content pagination for iOS 7 latter.
//set webview to transparent
webView.backgroundColor = [UIColor clearColor]
In case of paginationmode, it's not really working directly from objective c code. However, I got my job done by injecting CSS for 'body' tag:
NSString* path=[[NSBundle mainBundle] pathForResource:@"image" ofType:@"png"];
@"addCSSRule('body', 'background-color: transparent !important; background-image:url(%@); background-repeat: repeat-x; background-size:%fpx %fpx;')",[NSURL fileURLWithPath:path],webView.frame.size.width,webView.frame.size.height];
Note : its for UIWebPaginationModeLeftToRight..