You can try to observe orientation events (UIDeviceOrientationDidChangeNotification) in your modular view controller and then add the transform to your view level using CATransform3DMakeRotation to get the corresponding rotation around Z or basically using
[myLayer setValue:[NSNumber numberWithInt:M_PI*0.5f] forKeyPath:@"transform.rotation.z"]; // or - M_PI*0.5f depending orientation: left or right
. , ?
:
:
.
V.Zgueb