iphone - How to redraw the content view of UIScrollView -
There is a subview in the IIScrollView and it seems that whenever I look in Zoom Out or Content view, distorted becomes distorted.
As described by Brad Larson, I should set some change values and redo the content view. Now my problem is how can I redesign my content view. UIScrollView's Content View UIButtons is a UIView with SubViews. Will I rejoin that UIView with my UIScrollView?
Thank you.
What you want to do is manually resize and relay each of your buttons That is the account for the new scale factor which UIScrollView has presented to you in -scrollViewDidEndZooming: withView: atScale: Representative method
by looping it through your UIButtons and your new calculation status and Can be done by adjusting your frame with size. UIButtons will greed themselves on the new scale factor faster.
Comments
Post a Comment