开发者

iphone: UIwebview curl effect

I would like to make a standard view container which will give me the curl animation effect on multiple views.

Something like uiscrollview and paging, only with a different animation(curl).

I will be using UIwebviews as my separate pages.

The problem: I do 开发者_运维问答not know how to trap swipes in UIwebviews, But I see that UIscrollview implments this (swiping a uiwebview in a uiscrollview will bring me to the next view). I am therefore assuming that the implmentation of UIscrollview is trapping UIwebview swipes.

How can i achieve the same functionality? I also need the UIWebview to keep functioning (as when embedding it in a uiscrollview)


UIWebView is a subclass of UIResponder and thus responds to touch events (I assume this is what you mean when you say 'trap swipes'). Take a look at the documentation of UIResponder for more information on touch events.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜