Dose not work navigation bar hidden

Hi, I found a bug using the image picker.


my source is,


[Code]

let picker = UIImagePickerController()

picker.sourceType = .savedPhotosAlbum

self.mainView.addSubview(picker.view)

picker.navigationBar.isHidden = true

(Objective C is the same.)


This source works on all devices and simulators except IOS 13.


However, the navigation bar is not hidden on IOS13 devices.


Is this problem intended? Or is it just a bug?


I would like your feedback.


Thank you.

Dose not work navigation bar hidden
 
 
Q