How to switch the live screen camera icons from portrait to landscape mode in iPhone?
问题 I created a custom camera overlay for the live screen camera view and have imported my own custom icons for the camera, flash and flip buttons. Everything looks good in portrait mode, but when I switch the live camera screen to landscape mode, the orientation of the camera stays in portrait mode and shows this in console, "Error: CGAffineTransformInvert: singular matrix" I tried using the auto resizing mask , also have tried setting two different frames for the icons in both portrait and