I have the following hierarchy: view scrollview(with scroll and zoom enabled) containerview imageview (with a map) views for buttons views for navigation panel
Over the image view I have to put some point of interest (depending on the category the user selects): The problems are: if i attach them to the container view, they getting the correct position is very easy, but when zooming they will zoom with the image, and they should keep the same size (1) if i attach them to the scrollview I don’t see nothing.. If I attach them to the main view, I have two problems: 1 to find their hierarchy position in between scrollview and view for buttons, etc (they get at the top of the application and should be just over the map but below the control panels, buttons, etc 2 to coordinate with the zoom and scroll- done with convertPoint:toView If I add a view (sibling of container view under the scrollview) they show fine, but I have no user input on them (They don’t receive touches) If I convert that sibling subview to a CALayer, I don’t get the sublayers (POIs) to shown.
(1) Ive tried to subclass container view and override setTransform by applying CGAffineTransform invertedTransform = CGAffineTransformInvert(transform); but I had problems passing it an array with views references to it
What would you recommend to do in this case? Thank you very much!
S.