Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

xiaohuli170

macrumors newbie
Original poster
Jan 13, 2009
27
0
Usually, In the scrollview is a tableview or textview, and then We can control the page with the scroller on the right or at the bottom. Now I want to put the webview instead of the tableview or textview , and I don't wnat to controll the webpage with the safari's controller and with the scrollview's controller, but I don't know how to do? and if I can disable the safari's controller or not , How to do ? Or someone can give me a sample ? Thanks a lot!!!
 
If I understood you correctly, you're trying to customize the scrolling behavior of your WebView? If so, I don't think that will be very easy, since WebViews use their own subviews and scrollviews internally.

Maybe you could be more specific as to what you're wanting to do overall?
 
Yes , I want to cumtoming the scrolling behavior of the webview ,because My app want to show a lot of flash in the webview at one time. but if I try to do it , the app will crash. I think it is occured by the webview , so I want to first time show some swf of that , and then when I drag the controller of the scrollview , to show another swf , so I want to customing the scroller of the webview , but I think it is difficult , can you tell me how to do with it ?
 
You can't do that, I had tried it myself only to realize later that webkit doesn't allow customization of the scroll bar because it's not allowed by html standards, that is one of the reason for firefox and safari doesn't allow customization.

But if i remember properly there is a java script for doing that, you would have to search for it.
 
Thank you! first I disable the scroll bar in a html , and then I customize a scrollview enclosing the webview , and then I compute the size of the resource in it , it is too complex , but I got it . Thank you again!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.