Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6385689
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T02:55:52+00:00 2026-05-25T02:55:52+00:00

I submit my App to App store, and after review it was rejected. Reason

  • 0

I submit my App to App store, and after review it was rejected.
Reason from Apple was:


2.5: Apps that use non-public APIs will be rejected

*We found that your app uses one or more non-public APIs, which is not in compliance with the App Store Review Guidelines. The use of non-public APIs is not permissible because it can lead to a poor user experience should these APIs change.
We found the following non-public APIs in your app:

dateWithCalendarFormat:timeZone:

hourOfDay

minuteOfHour

secondOfMinute

setNavigationBar:

If you have defined methods in your source code with the same names as the above-mentioned APIs, we suggest altering your method names so that they no longer collide with Apple’s private APIs to avoid your application being flagged in future submissions.

Additionally, one or more of the above-mentioned APIs may reside in a static library included with your application. If you do not have access to the library’s source, you may be able to search the compiled binary using “strings” or “otool” command line tools. The “strings” tool can output a list of the methods that the library calls and “otool -ov” will output the Objective-C class structures and their defined methods. These techniques can help you narrow down where the problematic code resides.*


But, problem is that I did not declare or define any of methods with the names as the above-mentioned APIs. And I did not used any custom library. It is quite simple application (planer) and I used only: UIKit, CoreData, AVFoundation, Foundation and EventKit.

I send message to Apple yesterday, but still no answer.

Any ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T02:55:53+00:00Added an answer on May 25, 2026 at 2:55 am

    You said in the comments above you used

     [[[datePicker date] dateWithCalendarFormat:nil timeZone:nil] hourOfDay]
    

    Now, [datePicker date] returns an NSDate, whose documentation shows there’s no public methods named dateWithCalendarFormat:timezone: nor hourOfDay etc.

    So, you can’t just use them.

    As for setNavigationBar:, the property navigationBar of UINavigationController is a readonly property, as the documentation says. Therefore you can’t set it.

    When you compile your app, the compiler should have issued lots of warning about it, saying that the selector was not found, etc. You should always regard those warnings as errors, and eliminate them. This way you can avoid rejection after submission.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have submit my app in app store successfully and got approve from apple
I need to submit to the Apple app store a new version of my
After following the great tutorials from http://www.raywenderlich.com/ on how to submit your app to
After reading: iphone: submit app with iOS 5 and XCode 4.2? I realize that
After I archive my app and select Submit to the Mac App Store and
When I submit my app to the Apple app-store do they see my source
I want to submit an app to the app store. The app has been
When I try to submit my app on the App Store through Xcode I
I'm trying to submit a Mac app for Approval in the App Store, but
We are about to submit an application to the App store and we have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.