-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
-parentFrame is a private API #2
Comments
@EgoAleSum
I think this method is private Api too.I cant find the method in any ios document. :( |
It's not a 'private' API per-say, it's just not exposed. It is apart of the |
Your app uses or references the following non-public APIs: parentFrame The use of non-public APIs is not permitted on the App Store because it can lead to a poor user experience should these APIs change. |
I hope that we do not use this library, the bloody lessons. 2016年9月1日 上午1:22 Your app uses or references the following non-public APIs: "parentFrame" The use of non-public APIs is not permitted on the App Store because it can lead to a poor user experience should these APIs change. |
坑死我了 被拒两次 |
My app got rejected by the static analyzer for using this method because -parentFrame is a private API.
I managed to solve that by checking on the delegate if the jsContext that's passed is the same as the context for the main frame:
By using the delegate method, we're still sure that the JSContext object is created when we ask for it.
The text was updated successfully, but these errors were encountered: