While uploading the binary app to iTunes, it reports warning as follows:
The app references non-public selectors in :setRefreshInterval
- How can I solve this issue?
- Which public API can resolve the issue (:setRefreshInterval) ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It means you have used a private API, not a documented/public one. Apple will generally reject your app if you use this because they are not permitted and if Apple changes the internal system (included this undocumented code) it can crash your app.
And people would leave negative reviews.
In this case
setRefreshInterval:is the private method so what doessetRefreshInterval:do in your code, then maybe I can give you alternatives…I’m pretty sure to check if you are using a public API: there is no auto completion and another thing is press alt and click the method/property to see if it has documentation