navigation bar transparent while picking a video from image picker controller
I'm trying to pick a video using image picker controller. while picking a video, previous screen title is visible or navigation bar is transparent. This is only happening on iPad, not on iPhone. My code is as given,
imagePicker.sourceType = .savedPhotosAlbum
imagePicker.mediaTypes = [kUTTypeMovie as String]
self.present(self.imagePicker, animated: true, completion: nil)