views:

234

answers:

0

My setup.

UIScrollView (scrollView) 
- UIView (contentView)
- UIView (subView)

I have managed to do so I can zoom contentView only on the x-axis. The problem is that subView is containing a graph. When contentView is zoomed and transformed the graph gets unsharp and distorded since the scaling only effect the x-axis.

What I need help with is to somehow redraw the contentView after I'm done with the zooming without distorting the graph. Is it possible to transform the contentView so that the graph stays sharp even if you only zoom in the x-axis or redraw the content in the zoomed/stretched view somehow?

I have tried the solution in this thread link but haven't succeeded to get it running.