Apple Gave Me an “only this one time!”

Earlier today an update to one of my apps, Hot Links, was accepted.

From: iTunes Store
Subject: Your application is Ready for Sale
Date: December 11, 2009 12:34:01 PM CST
To: Jonah Grant
Reply-To: iTunes Store

Dear Jonah Grant,

Your application is now Ready for Sale. If your contracts are not in effect at this time, your application will not be live on the App Store. You may track the progress of your contracts in the Contracts, Tax, and Banking Module in iTunes Connect.
Application Name: Hot Links
Application Version Number: 1.0.1
Sincerely,
The iTunes Store Team

But then a few minutes later, I got this email, which typically means that your app was rejected (App Name: Application Submission Feedback – is never good)

From: iPhone Developer Program
Subject: Hot Links 1.0.1: Application Submission Feedback
Date: December 11, 2009 12:38:29 PM CST
To: Jonah Grant

Follow-up: xxxxxxxx

Dear Mr. Grant,

Thank you for submitting your update to Hot Links to the App Store. During our review of your application we found it is using a private API, which is in violation of the iPhone Developer Program License Agreement section 3.3.1; “3.3.1 Applications may only use Documented APIs in the manner prescribed by Apple and must not use or call any private APIs.” While your application has not been rejected, it would be appropriate to resolve this issue in your next update.

The non-public API that is included in your application is setNumberOfRows:.

Please resolve this issue in your next update to Hot Links.

Regards,

iPhone Developer Program

So just as a warning to all iPhone developers, try not to use setNumberOfRows for a UIAlertView. I cannot be certain that all apps with setNumberOfRows will be rejected, most likely just apps that use it incorrectly.
Newer