iOS App Rejected : non-public APIs
<p>The same app has already been approved twice before but after some changes like set the image view and submitting the app again, Apple rejected my app for following errors:</p>

<blockquote>
  <p>Performance - 2.5.1</p>
  
  <p>Your app uses or references the following non-public APIs:</p>
  
  <p>setResult: nextStarIndex</p>
  
  <p>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.</p>
</blockquote>

<p>How can a user test his/her application if it contains Private API's?</p>

<p>I am not using <code>setResult:</code> and <code>nextStarIndex</code> code anywhere in my project so what should I do?</p>