WebViewアプリを開発していて、HTMLのfile inputタグで、「写真またはビデオを撮る」を選択するとアプリがクラッシュする事象が発生したので、備忘録と同じ事象が起きた方のためにメモを残しておきます。
解決方法
info.plistに下記を追記する
カメラ起動でのクラッシュを防ぐ
<key>NSCameraUsageDescription</key>
<string>You can take photos to document your job.</string>
ビデオ起動でのクラッシュを防ぐ
<key>NSMicrophoneUsageDescription</key>
<string>You can record audio and video using this description key.</string>