【发布时间】:2014-04-08 19:21:48
【问题描述】:
在 Apple Application Uploader 上出现此错误:
The app references non-public selectors in Payload/<Appname>.app/<App name>: FailWithError: , topMostAlert.
我在我的代码中搜索了FailWithError: 和topMostAlert。
我没有在我的代码中找到这些,除了 topMostAlert 用于解雇 UIAlertView
Class UIAlertManager = NSClassFromString(@"_UIAlertManager");
UIAlertView *alertView = [UIAlertManager performSelector:@selector(topMostAlert)];
[alertView dismissWithClickedButtonIndex:0 animated:NO];
我知道此错误是因为在您自己的代码或第三方代码中使用了与标记为非公共(Apple 提供的 API)的选择器同名的选择器。
我正在添加我的代码中使用的框架的屏幕截图。
【问题讨论】:
标签: ios objective-c