Saturday, October 5, 2013

uiwebview on some of the issues

On the ipad
On the left is the navigation on the right is uiwebview, but the search results out too long, you want to do a page, the original idea was to do two in uiwebview transparent buttons, like the QQ news to see pictures of that effect, but seemingly a bit difficult.

Then think of it, there seems to pull the slide, you can pull the next page, this is an event you ask? If the trigger is an event how do?

Each time the trigger I just want to write in this event a fixed number of queries, this will not be too long nor too slow
query
Simply put it is the uiwebview paging
Reply:
Did not understand what you mean you is to search out the results above are displayed in UIWebView? Search results are plain text or above? UIWebView is sliding ah.
Reply:
That can slide, but above all in the page content, ah, this is not thousands of pieces of data are in it, and has been down for a long time, so just want to do a paging
Reply:
Seems to be judged uiwebview offsets. If you exceed certain limits on the re-load the second page of data
Reply:
Your data is that the link or text? As too is a plain text, then you can do it yourself a paging algorithm then displays a page, but if it is linked to the words Actually, we can do, just a little bit complicated. You can also embed js do.
Reply:

UIWebView you use this load url will put all the pages have content taken down, and you have not shown the interface does not matter

Do you want pagination should instead ios background to achieve this end
Reply:
Slide the event has been occupied, sliding across uiwebview are pulling
Reply:
To use two button solve it, find a better location
Reply:
Apology "Paginate html file in UIWebView, UIWebView paging" a text with detailed description and source code.

Go to:
http:// love crazy phone .tw/node/2012-09-19.htm
http://appholic.tw/node/2012-09-19.htm

Focus is:
Conclusion: Paginate html file in UIWebView, UIWebView paging looks very difficult, in fact, only one line, iOS4.x: "((UIScrollView *) subview). PagingEnabled = YES;", iOS5: "self.webView.scrollView.pagingEnabled = YES;. " At this time, each page will slide from the top or bottom of the screen, so ,2012-09-19. Htm file domestic use for some css3, mainly "-webkit-column-width: 320px;" This setting column of css3, will 2012-09-19.htm horizontal paging.

Jesse

No comments:

Post a Comment