I am have a custom CALayer which should look different with respect to different interface orientation. Is there a way that I can access the interfaceOrientation of the View Controller where I am using this CALayer ?
Or I will have to set a property in the custom Layer indicating the current orientation every time it changes ?