objective c - How to zoom UIScrollview together with added UIImage -


i have background image added uiscrollview zoom enabled. trying add additional uiimage's on top of background image zoom background image?

the idea have background multiple playing cards user can either see whole playing field small playing cards or zoom in whole background including playing cards better views on playing cards.

your uiscrollview should contain single zoomable uiview subview. subview should contain background uiimageview , of card uiimageviews it's own subviews (if add background image first, layered @ of resulting composite view)

the containing uiview immediate subview of scrollview should return value uiscrollviewdelegate method

  - (uiview *)viewforzoominginscrollview:(uiscrollview *)scrollview 

you can manage view hierarchy through uiview's subviews property, nsarray of views. layered in order of array, first view on array @ when views composited display.


Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -