Pages

Sunday, January 20, 2013

UIScrollView scroll in not smooth on loading of UiWebView

i have 8-10 UiWebView's  to load different charts and maps on an iPad, i am using UIScrollView to scroll through each page, problem is while loading of each UiWebView my UiScrollView does not scroll smoothly to other pages horizontally, my query is can i load UiWebView on background and how to make sure the scoll of pages is smooth, even though the loading of UiWebViews may take time.

 

Note :i have tried disabled scrolling on webview, so when i scroll on the page  the scroll event will be of UiScrollView, so believe no conflict with UiWebView.

also in ios 6 i read about suppressesIncrementalRendering = True but i want to support ios5, also as UiWebViews are said to be running on main thread by default, i suspect when loading of webViews and when user tries to scroll the page, the main thread is busy, but i want the scroll of the page to be smooth  even though the loading of UiWebViews may take time.



View the original article here

0 comments:

Post a Comment