iphone - Distorting part of a UIView -



iphone - Distorting part of a UIView -

i have interesting problem. there's interesting solution :)

i have uiscrollview view takes width of ipad screen. content of scrollview is, obviously, wider.

now, i'd apply transformation visible part (that is, screen area) of scroll view gently curve 2 ends.

thus, there 2 issues:

1) such transformation possible @ all? want shift left , right side little , have top , bottom edges of view curved required such middle points don't move.

2) don't wish apply contents of scroll view since effect lost when scrolled out of view. instead wish apply result parent container. work?

here's graphic:

tim

just wild guess, how using ordinary image on top of scroll view? image show "distortion" effect while underlaying view left untouched.

iphone ios ipad graphics transform

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -