Titanium App 苹果商店因非publicAPI焦点而被拒绝:

Titanium App Apple store rejection due to non-public API focus:

我有一个 appcelerator titanium 应用程序,我已经将它的几个版本提交到 Apple 商店进行 Beta 测试并已获得批准。最新版本被拒绝并显示消息:

Your app uses or references the following non-public APIs:

focus:

要求澄清他们回答:

Thank you for your reply. Our team has re-reviewed this app to ensure our findings were accurate, we found this app contains references to the following selectors:

"focus:" was found in the method -[TiRootViewController manuallyRotateToOrientation:duration:]

我没有尝试使用任何非 public API,并且自上次提交的应用程序获得批准以来,与此相关的任何内容都没有改变。 这是钛的问题吗?我能做些什么来解决这个问题吗?

尝试搜索Apple提供的字符串:

"focus:"在方法-[TiRootViewControllermanuallyRotateToOrientation:duration:]中找到生成的Xcode 项目以了解问题出在哪里。

您需要知道导致此问题的文件位置,并注释掉 Apple 通知的任何字符串。