(Swift) zIndex zPosition

(Swift) zIndex zPosition

I’m a web person, and I almost always think web first.

With CSS there’s a property called z-index and it’s responsible for positioning elements on the z plane.

In iOS, there’s an analogous property on the layer of elements that you can augment called, zPostion.

yourThingHere.layer.zPosition = 1

Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *