views:

257

answers:

2

I created an iPhone application for the App Store.

I hear that some things are not allowed in the App Store. For example you can't copy existing iPhone functionality.

I didn't find information about these App Store restrictions.


A friend tell me that I can't develop my own UITableViewCellAccessoryXXX (I mean something different than the next image) because it's not allow by Apple. Is that true?

UITableViewCellAccessoryXXX image

A: 

There is no set list of what Apple does or doesn't allow beyond the high level items in the developer agreement you signed when you created your account to download the SDK. The only way to really tell about these things is to watch from reports online from other developers to see what apps are being rejected (and why). From a technical standpoint, if you can do it with the SDK without using any private frameworks (i.e. if it's in the header files that are part of the SDK), then you should be in pretty good shape (as far as technical rejections go).

As far as the accessory image, UITableViewCells should allow you to set the accessoryView property to whatever view you would like. As the developer agreement states, Apple has the right to reject your application at any time for any reason - but a custom accessory view shouldn't be a problem. Keep in mind, you may need to read over this thread if you don't use a default accessoryView:

http://stackoverflow.com/questions/869421/using-a-custom-image-for-a-uitableviewcells-accessoryview-and-having-it-respond

Adam Byram
A: 

In general, you want to stay with the HIG (Human Interface Guidelines) as much as possible:

http://developer.apple.com/iphone/library/documentation/userexperience/conceptual/mobilehig/Introduction/Introduction.html

This will maintain a consistant look and feel of applications between all apps on the iphone. This does not mean that all apps have to LOOK the same, but the closer you stay to within the HIG, the better off you will be and the better received your application will be. Typically. However, Apple does not make objects for every condition so it is required to create your own look when no other metaphor exists within Apple's frameworks.

As for subclassing Apple objects, like UITableViewCellAccessory, there are no rules against that.

Then there is who reviews the App. I really believe there is a luck to the draw on who the reviewer is assigned to the app.

More specifics might help get a more concrete answer.

Steven Noyes