Hey there, I am trying to add a new image on an existing sublayer in iphone. However, I found that the image was always “behind” the sublayer. So, could anyone please tell me how to set the priority of different layers and image views?
Thank you for your time and help.
The views are shown in the order they were added to the parent view.
c will be on top of b which will be on top of a.
You can always bring any of the subviews to the top by calling