【发布时间】:2013-08-26 07:46:57
【问题描述】:
我们已向应用商店提交了一个应用,Apple 向我们发送了一份评论说明
应用程序使用私有 API:_tableView
我已经在我的代码中进行了测试。我不确定苹果到底要求我们改变什么。
我刚刚使用https://github.com/shiki/STableViewController 拉动刷新。请尽快帮助我。
【问题讨论】:
我们已向应用商店提交了一个应用,Apple 向我们发送了一份评论说明
应用程序使用私有 API:_tableView
我已经在我的代码中进行了测试。我不确定苹果到底要求我们改变什么。
我刚刚使用https://github.com/shiki/STableViewController 拉动刷新。请尽快帮助我。
【问题讨论】:
确定whether your app uses Private APIs 的过程可能并不像您想象的那么简单。
苹果可以falsely identify your app as containing Private API usage, even when it doesn't。
如果您编写的代码与 Apple 框架中的代码存在命名冲突,就会发生这种情况。我想知道 Apple 进程是否没有在STableViewController.h 中陷入困境:
@property (nonatomic, retain) UITableView *tableView;
这可能不是最好的名字(尽管 table view controller 有一个 tableView 属性是有道理的),因为UITableViewController has a property with the same name。
您可以尝试简单地自己编辑STableViewController 源代码,并将该属性重命名(例如 为sTableView,或更独特的名称):
@property (nonatomic, retain) UITableView *sTableView;
(当然,还要重构代码以更改该属性的所有用法)
【讨论】:
我看不到 STableViewController 在哪里使用 _tableView。但是你为什么要使用它? UIRefreshControl 出了什么问题?
【讨论】: