When I use a UIScrollView to zoom out an UIImageView, can I get the zoomed ImageView's position? -
i init scrollview's frame according imageview's frame, contentsize. set imageview child in order zoom out , works well. but, method below can (uiview *)view 's relative location father(scrollview).actually, view.frame.origin = (0, 0), weird me. how explain situation? can zoomed imageview's absolute position(to rootview) ?
- (void)scrollviewdidendzooming:(uiscrollview *)scrollview withview:(uiview *)view atscale:(cgfloat)scale
parameter view
what changes when uiscrollview
scrolling contentoffset
& bounds
not subviews' frame
s.
Comments
Post a Comment