将我们的应用程序从Xcode10迁移到Xcode12后,我们发现UIBarButtonItems存在问题。其中一些是不可见的,但仍可以使用。
我们能够更具体地定位以下目标:
当查看“层次结构视图”时,该项目及其图标在那里,但未在设备上显示。无论显示与否,我们都看不到任何有助于理解问题的区别。
屏幕截图下方是:
此处提供更多屏幕截图(比较):https : //imgur.com/a/7Dcyvir
Any chance someone has seen a similar behavior with Xcode11 or Xcode12? Any idea of what we could try or if it is an Xcode issue that needs to be reported for a fix?
Thanks in advance for your help!
We were not able to reproduce in another application from scratch. Therefore we add to proceed the other way around: strip our current application until the problem wasn't here anymore. First step was to tear down to only an AppDelegate and a simple piece of code but the problem was still here. We removed all the dependencies from cocoapods but the problem was still here. We eventually removed a framework that we added directly into the project and it was the culprit!
所述框架是BiometricSDK
(来自IDEMIA)。我们将向他们发送邮件,以了解他们是否知道此问题以及是否已解决/将在较新的版本中对其进行修复。它不是开源的,所以我不知道具体的问题是什么,我唯一的猜测是它们以某种方式改变了UIBarButtonItems的外观(但是我不确定他们的代码是如何调用的,因为我们已经删除了对它的引用删除应用程序)。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句