Hello! Could you please tell me how I can rotate the AudioVisualizationView by 90 degrees?
I have tried soundWaveView.transform = CGAffineTransform(rotationAngle: -CGFloat.pi / 2.0)
But it works only if the height and width are equel to each other.
Please, see attachments.
Thank you.


Hello! Could you please tell me how I can rotate the AudioVisualizationView by 90 degrees?


I have tried soundWaveView.transform = CGAffineTransform(rotationAngle: -CGFloat.pi / 2.0)
But it works only if the height and width are equel to each other.
Please, see attachments.
Thank you.