开发者

How can I make subviews of UIWebView with its web content?

开发者 https://www.devze.com 2023-03-23 23:17 出处:网络
I added a button on UIWebView, but the button is stayed at the position while HTML content is scrolling. I want to make it scroll with HTML开发者_JAVA百科. How can I do this?Just wait for iOS 5.0, UIW

I added a button on UIWebView, but the button is stayed at the position while HTML content is scrolling. I want to make it scroll with HTML开发者_JAVA百科. How can I do this?


Just wait for iOS 5.0, UIWebView will have a UIScrollView subview so you can get the page offset and move the button in the ScollView Delegate methods.

0

精彩评论

暂无评论...
验证码 换一张
取 消