I have a 3D model presented in a UIView. When I clamp a model, it scales correctly, but when I zoom in, I would like to pan / scroll the view so that I can see parts of the model that are out of view. I switched UIView to UIScrollView, and on the pinch event the content size is updated using a scale factor. This works great, and now I can scroll through the view. My problem is that panning the outer borders of the content view still shows that the 3D model is still cropped by the size of the original view. Hope this makes sense ...
Does anyone have an idea what might be needed to visualize the enlarged parts of the chair that should now be visible (after panning)?
source
share