Ionic camera in ios

hi got a problem in ionic camera with ios.
When I used the camera in only gives me a full black display but when I took a picture.
It Display.

My question is their any fix for this.?
Because before I take a picture. everything’s is black
Thanks more power.