所以在我的应用程序开始时,用户必须能够扫描二维码。在应用程序设置中,用户可以扫描另一个条形码以更改设置中的一些数据。在我的应用程序扫描仪开始时工作正常,但是当我尝试在settingVC中扫描条形码时,我收到以下警告:Warning:AttempttopresentZXing.Mobile.ZXingScannerViewController:0x18036dc0onUINavigationController:0x16d8afe0whoseviewisnotinthewindowhierarchy!我已经尝试在viewDidAppear上调用扫描,但我收到了相同的警告。button_S