Rejected...question for you guys on what this means.
Glad when they reject something they give details on how to resolve it. This is what they sent.
Quote:
Your application, xxxx, cannot be posted to the App Store at this time because it does not achieve the core functionality described in your marketing materials. Applications must adhere to the iPhone Human Interface Guidelines as outlined in iPhone SDK Agreement section 3.3.5.
xxxxx was never able to determine My Location using Location Services. This issue occurred while using a 3G iPhone. The application keeps searching, but no location is found and an error message is not presented to notify the user of the problem.
In order for your application to be reconsidered for the App Store, please resolve this issue and upload your new binary to iTunes Connect.
Should you require more assistance with resolving this issue, Apple Developer Technical Support is available to provide direct one-on-one support for discrete code-level questions.
But, the app does get a location on every phone we've tried it on and I have no idea what they're talking about. Also, is that direct one-on-one the paid service they offer or is it free?
sounds like it means they tested it in an area where you can't get the location and if you can't get it you need like an alert box or such to notify the user that the location is not found
__________________ Iphone Noob iPhone Development Blog. Learn to develop for the iPhone SDK with me
What's odd about Location Services is though it never tells you it can't find a location..it ALWAYS give you something even if it's a cached location or a bad location. I've never been able to not get a location...something always comes up.
sounds like it means they tested it in an area where you can't get the location and if you can't get it you need like an alert box or such to notify the user that the location is not found
Exactly, just make sure to let the user know that no location is found after 30 seconds or something like that.
And I think the "direct one-on-one support" is the one you get if you pay (so do we have 2 free sessions because we paid to get into the dev program? I read about that somewhere...)
My app was just rejected. It was a version that included GPS functionality, and I'm guessing that I had the same issue. I didn't know that one has to implement the error-receiving method of the locationManagerDelegate . . .
but I haven't received any communication from Apple about why my app was rejected. Does it take them a while to send this info? Or should I contact them?
Implementation of this method is optional. You should implement this method, however.
If the location service is unable to retrieve a location fix right away, it reports a kCLErrorLocationUnknown error and keeps trying. In such a situation, you can simply ignore the error and wait for a new event.
If the user denies your application’s use of the location service, this method reports a kCLErrorDenied error. Upon receiving such an error, you should stop the location service.
I'm hoping that this is the issue in my rejected app and that this is the fix for it.
Use that method, but add a notification for the user. Use the alert view to notify the user that no location could be found. That should fix your problem.
- (void)locationManager:(CLLocationManager *)manager didFailWithError:(NSError *)error {
if (error == kCLErrorDenied) [locationManager stopUpdatingLocation];
else if (eror == kCLErrorLocationUnknown) {
[locationManager stopUpdatingLocation];
// open an alert with just an OK button
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Whoops!" message:@"Your GPS location could not be determined. Try again."
delegate:self cancelButtonTitle:@"OK" otherButtonTitles: nil];
[alert show];
[alert release];
}
}
?
I hope Apple actually tells me what the problem is soon.
Glad when they reject something they give details on how to resolve it. This is what they sent.
But, the app does get a location on every phone we've tried it on and I have no idea what they're talking about. Also, is that direct one-on-one the paid service they offer or is it free?
I am putting together a list of rejection reasons and I found your post. The reason for apple not finding a location is, that they test location-enabled apps INSIDE and also with network connectivity off. If you just display a NO SIGNAL or an UIAlertView stating that for cell-tower or wifi triangulation internet is required that's enough.
I learned this the hard way myself with GeoCorder, which was rejected serveral times due to the above weird testing methods.
__________________
regards
Oliver Drobnik Cocoanetics - Our DNA is programmed in Objective-C.
Cocoanetics Parts Store – easy to use yet professionally looking components that you can use to spruce up your own apps. Augmented Reality, Calendar Control, Pin Lock or Purchase Button are only some examples. You get full source code, no static library crap, and lifetime support. Check it out today!