English 中文(简体)
Using multiple UIWebViews in a UIScrollView
原标题:

I am using 5 UIWebViews in a UIScrollView to show the result of my game. Intention is to allow the user to scroll through the results screen. I had a problem where the UIWebViews won t load when scrolled to the next page. This means the first page will load successfully however when you scroll to Page 2, you will see a white blank page. Page is loaded as I can see the alert which was given in all the 5 pages, but it won t show.

I tried a workaround as mentioned here

inserting various views into UIScrollView

http://pinchzoom.com/blog/items/view/1386/one-of-the-problems-with-the-uikit-at-the-moment-is-an-issue-embedding-a-uiwebview-within-a-table

This fixed my problem, however when I submitted the app to iTunes, it got rejected with the following comment.

"3.3.1 Applications may only use Documented APIs in the manner prescribed by Apple and must not use or call any private APIs." The non-public API that is included in your application is _documentView

I would like to fix this issue and resubmit. Can someone help please ?

Thanks Jugs

问题回答

Just use one WebView for all results (which will scroll if it doesn t fit into the screen).





相关问题
Navigate a WebView

With a webview is it possible to set up a simple Back button (either in a navigation bar or a top toolbar) that doesn t show the back button on the first URL of the WebView - and only appearing on a ...

How to display the Authentication Challenge in UIWebView?

I am trying to access a secure website through UIWebView. When I access it through safari, i get an authentication challenge but the same does not appear in my UIWebView in the application. How can I ...

UIWebView with links

I am creating a webview and loading content using "loadHTMLString" The content is loading I just can t get the links to work ex linking to google.com. Any help would be great. UIWebView* newWeb = [[...

Using multiple UIWebViews in a UIScrollView

I am using 5 UIWebViews in a UIScrollView to show the result of my game. Intention is to allow the user to scroll through the results screen. I had a problem where the UIWebViews won t load when ...

Image not displaying from local html on iPhone webview

I am calling an infoPage.html as below with an image from Resources and referenced as img src="eye.png" in the html, the text displays correctly but I cannot load the image (only a ? appears), any ...

Get Text UIWebView PHP script

Basically my app has a UIwebView which loads a php script with input of user data. The script then uses printf(some info). This all works and it prints it right the UIWebView. Basically what I want to ...

UIWebView shows error message

I am getting this error message in the console, while I am trying to load a HTML page in UIWebView? "void SendDelegateMessage(NSInvocation*): delegate failed to return after waiting 10 seconds. main ...

热门标签