English 中文(简体)
投影机的使用
原标题:AppStore error Non-public API usage

我向上诉庭提出我的 app,给我留下了一个错误。

Status : Invalid Binary and gives reason as follows,

附录载有或继承了MyApp的非公立学校课程:

任何帮助都将得到认可。

问题回答

Well UIProgressHUD is a private class and you are not allowed to use it. If you create the UIProgressHUD your self just rename it to some thins like MYProgressHUD.

I don t really agree with rckoenes answer. It s also a little unclear - I assume by rename you mean create the class dynamically using NSClassFromString - Apple run static analysis on the code you submit, so if you use private classes you need to do so in such a way that bypasses that (i.e., creating classes dynamically from strings, etc). But you really shouldn t be using private classes, because there s no guarantee they will behave the same way in future OS releases. Indeed, in iOS 5 Apple made a number of architectural changes to undocumented classes that broke custom UI behaviour in some apps.

更好的选择是使用一个既定的替代图书馆,取代<代码>。 http://github.com/jdg/MBProgressHUD”rel=“nofollow”https://github.com/jdg/MBProgressHUD

替代课程通常提供more功能,而不是你试图使用的私人课程。





相关问题
Code sign Error

I have created a new iPhone application.I have two mach machines. I have created the certificate for running application in iPhone in one mac. Can I use the other mac for running the application in ...

ABPersonViewController Usage for displaying contact

Created a View based Project and added a contact to the AddressBook using ABAddressBookRef,ABRecordRef now i wanted to display the added contact ABPersonViewController is the method but how to use in ...

将音频Clips从Peter改为服务器

我不禁要问,那里是否有任何实例表明从Peit向服务器发送音响。 I m不关心电话或SIP风格的解决办法,只是一个简单的袖珍流程......

• 如何将搜查线重新定位?

我正试图把图像放在搜索条左边。 但是,问题始于这里,搜索条线不能重新布署。

热门标签