I have a view based application. I have to add features like pinch zoom and double tap to zoom the page(`UIView`) in the iOS application. Its easy to zoom a `UIScrollview`. 

I should create a framework which has the option to pan and zoom the entire app. How do a achieve to zoom a view based application? I welcome your ideas!