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' frames.


Comments

Popular posts from this blog

python - jinja2: TemplateSyntaxError: expected token ',', got 'string' -

node.js - NodeJS remote terminal to Dropbear OpenWRT-Server -

Qt4: how to send QString inside a struct via QSharedMemory -