★ TouchArcade needs your help. Click here to support us on Patreon.

Rejected for making my UIWebView not bounce

12-01-2009, 10:21 PM
#1
Joined: Aug 2009
Location: San Francisco
Posts: 362
Send a message via Skype™ to micah
Rejected for making my UIWebView not bounce

Skeleton Key has been crippled with a horrible bug that causes it to crash and die every time a player loses all their lives for several weeks now. I fixed it, submitted an update, and just got my rejection email!

Quote:
Dear Micah,

Thank you for submitting your update to Skeleton Key 1.6.1 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 setAllowsRubberBanding.

Please resolve this issue in your next update to Skeleton Key 1.6.1.

Regards,

iPhone Developer Program
The offending snippet of code is:

Code:
if([scrollView respondsToSelector:@selector(setAllowsRubberBanding:)]) {
	[scrollView performSelector:@selector(setAllowsRubberBanding:) withObject:NO];
}
The instructions for Skeleton Key is just a UIWebView loading a local web page, instructions.html, that comes included with the app. Using html and css was the easiest way I could figure out how to make richly-formatted scrolling instructions. The only problem was when you scroll off the top or bottom of the screen, the web view "bounces" and doesn't look very good because it shows gray, instead of the instructions.html background image. So I disabled the bouncing.

This has been included in Skeleton Key since version 1.0, but they decided to reject 1.6.1 for it. I guess I'll just have to make the instructions slightly uglier and head to the back of the line now...

--=] Insurgent Games website | twitter [=-
Cryptose (TA) - Skeleton Key (TA) - Skeleton Key HD (TA link) - Aeropack (TA)
12-01-2009, 10:27 PM
#2
Joined: Sep 2009
Posts: 5,678
Don't you love Apple sometimes

12-01-2009, 10:33 PM
#3
Joined: May 2009
Location: Palmerston North, New Zealand
Posts: 464
Well wait a second, it distinctly says you haven't been rejected...

And why don't you just use:

Code:
scrollView.bounces = NO;
Saves having to call a private API... Or you could set the background colour of the scroll view to match your instructions background colour if you want to keep the bounce but lose the grayness. Unless your instructions background is more complex than a simple colour

Check out Sheepish, 100+ levels of puzzle fun! With sheep!
And more about us: www.pixelthismobile.com
plus+ id: Newtz
12-01-2009, 10:41 PM
#4
Joined: Jun 2009
Location: London, UK
Posts: 3,741
Seems like a really pointless thing for Apple to care about, but it looks like PixelthisMike has your answer so... cheer up

  /l、
゙(゚、 。 7 ノ
 l、゙ ~ヽ
 じしf_, )ノ
12-01-2009, 10:41 PM
#5
Joined: Mar 2009
Posts: 1,090
Ah, I was wondering why I couldn't progress in the game after losing all my lives. Good luck on getting this fixed (so I can play again )

plus+ scoreloop crystal : looby
agon openfeint gamecenter: loobylibby
12-01-2009, 10:42 PM
#6
Joined: Aug 2009
Location: San Francisco
Posts: 362
Send a message via Skype™ to micah
Hey, you're right, it was rejected! It looked like a rejection email, but the subject was "Skeleton Key 1.6.1: Application Submission Feedback", and I just got another email saying the update was approved and is ready for sale. Look at that! I didn't realize Apple gave you "feedback" without rejecting you. Well that's good.

And I also didn't realize I could do scrollView.bounces = NO;.. will look into that for the next update. Thanks.

--=] Insurgent Games website | twitter [=-
Cryptose (TA) - Skeleton Key (TA) - Skeleton Key HD (TA link) - Aeropack (TA)
12-01-2009, 10:46 PM
#7
Joined: May 2009
Location: Palmerston North, New Zealand
Posts: 464
I've never known them to give "submission feedback" instead of rejecting either! You were checking to see if the method existed first so if they ever removed the private API (which is the danger of calling private API's) then the game wouldn't crash, you'd just get the ugly grayness back again. Perhaps they looked kindly on your safe access of their private methods

Check out Sheepish, 100+ levels of puzzle fun! With sheep!
And more about us: www.pixelthismobile.com
plus+ id: Newtz
12-01-2009, 11:12 PM
#8
Joined: Sep 2009
Posts: 25
This is a new thing they just started doing. We got something similar for one of our games. I just hope they start doing it with things like keywords (removing them instead of rejecting) and marketing text (put on hold instead of rejecting).

Ultimately it's in their best interest since it will massively cut down on resubmissions and the amount of time they spend retesting apps.
12-02-2009, 12:22 AM
#9
Joined: Mar 2009
Posts: 1,090
I just updated in iTunes, so yay!
*sorry for butting into the dev forums*

plus+ scoreloop crystal : looby
agon openfeint gamecenter: loobylibby