I'm wondering if there is a way to bring layer on top of others layers of view. Something like bringSubviewToFront
does for UIView
class. I think it can be done with zPosition
property of the CALayer
but this means I have to check zPosition
for all layers and then set proper value.
Thanks in advance.