Camera preview is in portrait mode but image captured is rotated

后端 未结 3 1430
挽巷
挽巷 2020-12-01 03:29

I am trying to capture a photo using the camera. The preview by default was in landscape mode which i could change it to portrait mode using

    setCameraDis         


        
3条回答
  •  萌比男神i
    2020-12-01 03:55

    Yes, I tried the way in the answer, it works for back camera, for front camera, it need to rotate 270 not 90. :)

提交回复
热议问题