I used following code to paginate the UIWebView.
self.webView.paginationMode = UIWebPaginationModeLeftToRight;
self.webView.paginationBreakingMode = UIWebPaginationBreakingModePage;
self.webView.scrollView.pagingEnabled = YES;
Now I want to know the total number of pages it created. The IOS7 document says UIWebView has a property called pageCount. I tried it, but it always returns 1.
How can I get the number of pages it created after pagination?
Thanks.
 
     
     
    