Apple found private API in QuickConnect?

3 views
Skip to first unread message

potholeskinny

unread,
Nov 28, 2009, 3:22:30 PM11/28/09
to QuickConnect
Hi All,
I am no longer using QuickConnect, but I thought I should share info
about submission feedback for one of my apps that uses QuickConnect.
For some reason (not associated with QuickConnect) I have been going
through an approval process nightmare with this app, but it has
finally been approved. Below are the comments I recieved from Apple.
I'm not sure if this is due to recent changes with Apple as they began
using computers to automatically scan for the use of private APIs
( http://bit.ly/88th9C ). It should also be noted again that the app
was not rejected, but it will probably be rejected if they see this
again in the next app update.

From Apple:
"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
descriptionWithCalendarFormat:timeZone:locale.

Please resolve this issue in your next update"

-Steve

Finbarr

unread,
Dec 1, 2009, 7:00:54 PM12/1/09
to QuickConnect

Hi Steve,

I just got a rejection for using that API in Jelly SMS.

What can I use instead? Any ideas?

Cheers
Finbarr


On Nov 28, 3:22 pm, potholeskinny <potholeski...@gmail.com> wrote:
> Hi All,
> I am no longer using QuickConnect, but I thought I should share info
> about submission feedback for one of my apps that uses QuickConnect.
> For some reason (not associated with QuickConnect) I have been going
> through an approval process nightmare with this app, but it has
> finally been approved. Below are the comments I recieved from Apple.
> I'm not sure if this is due to recent changes with Apple as they began
> using computers to automatically scan for the use of private  APIs
> (http://bit.ly/88th9C). It should also be noted again that the app

Bcit

unread,
Dec 2, 2009, 10:12:59 AM12/2/09
to quickconn...@googlegroups.com
Apple made a change when they went from a preliminary to a final
version of NSDate. There is an update for this in QC 1.5.1.2, the
latest release version, or you can modify the Objective-C VCO file
containing the NSDate call to 'describe'. Just remove all of the
parameters.

There is another disussion in this google group regarding this that
has the code change posted in it.

Lee

Sent from my iPhone
> --
>
> You received this message because you are subscribed to the Google
> Groups "QuickConnect" group.
> To post to this group, send email to quickconn...@googlegroups.com
> .
> To unsubscribe from this group, send email to quickconnectiPh...@googlegroups.com
> .
> For more options, visit this group at http://groups.google.com/group/quickconnectiPhone?hl=en
> .
>
>

Lee Barney

unread,
Dec 2, 2009, 11:36:09 AM12/2/09
to quickconn...@googlegroups.com
Here is the result of the discussion in the group.  I has also been added to the latest 1.5 release.


Change the PickResultsVCO.m file to be as follows.  The change will be in the next 1.6 beta.  

Lee 


/*

 Copyright (c) 2008, 2009 Lee Barney

 Permission is hereby granted, free of charge, to any person obtaining a 

 copy of this software and associated documentation files (the "Software"), 

 to deal in the Software without restriction, including without limitation the 

 rights to use, copy, modify, merge, publish, distribute, sublicense, 

 and/or sell copies of the Software, and to permit persons to whom the Software 

 is furnished to do so, subject to the following conditions:

 

 The above copyright notice and this permission notice shall be 

 included in all copies or substantial portions of the Software.

 

 The end-user documentation included with the redistribution, if any, must 

 include the following acknowledgment: 

 "This product was created using the QuickConnect framework.  http://quickconnect.sourceforge.net/", 

 in the same place and form as other third-party acknowledgments.   Alternately, this acknowledgment 

 may appear in the software itself, in the same form and location as other 

 such third-party acknowledgments.

 

 

 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 

 INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 

 PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 

 HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF 

 CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE 

 OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

 

 

 */


#import "PickResultsVCO.h"

#import "QuickConnectViewController.h"

#import "SBJSON.h"



@implementation PickResultsVCO


+ (id) doCommand:(NSArray*) parameters{

    QuickConnectViewController *aController = (QuickConnectViewController*)[parametersobjectAtIndex:0];

    UIPickerView *aPicker = [[aController webViewpicker];

    [aController webView].picker = nil;

    

    if([aPicker isKindOfClass:[UIDatePicker class]]){

        NSDate *aDate = ((UIDatePicker*)aPicker).date;

    

        NSString *aDateString = [aDate description];

MESSAGE(aDateString);

        NSMutableArray *passingArray = [[NSMutableArray allocinitWithCapacity:1];

        [passingArray addObject:aDateString];

        SBJSON *generator = [SBJSON alloc];

        

        NSError *error;

        NSString *paramsToPass = [generator stringWithObject:passingArray error:&error];

        

        NSString *jsString = [[NSString allocinitWithFormat:@"handleJSONRequest('showPickResults', '%@')", paramsToPass];

        MESSAGE(jsString);

        [[aController webViewstringByEvaluatingJavaScriptFromString:jsString];

    }

    [aPicker removeFromSuperview];

    return nil;


//build the JavaScript string to make the call to deliver the data

/*

                            [NSString stringWithFormat:@"%@ - %d",

[pickerViewArray objectAtIndex:[pickerView selectedRowInComponent:0]], [pickerView selectedRowInComponent:1]];

 */


    }

@end




Reply all
Reply to author
Forward
0 new messages