English 中文(简体)
关于Mac App Store的最新数据(登录日志。
原标题:Rejected app-update on Mac App Store (accessing loginwindow.plist)

我对一份Mac App Store文件感到不安。 如果用户在偏好中把检查箱包装起来,则采用以下方法在标识项目中添加我的应用。

-(void) addAppAsLoginItem{
    NSString * appPath = [[NSBundle mainBundle] bundlePath];

    CFURLRef url = (CFURLRef)[NSURL fileURLWithPath:appPath]; 

    LSSharedFileListRef loginItems = LSSharedFileListCreate(NULL, kLSSharedFileListSessionLoginItems, NULL);
    if (loginItems) {
        //Insert an item to the list.
        LSSharedFileListItemRef item = LSSharedFileListInsertItemURL(loginItems, kLSSharedFileListItemLast, NULL, NULL, url, NULL, NULL);
        if (item){
            CFRelease(item);
        }
    }   

    CFRelease(loginItems);

}

伊莱夫已经成功地提交了许多更新材料,没有任何问题,但现在我的申请被驳回,因为Im进入档案系统:

页: 1

申请进入以下地点:

~/Library/Pviss/loginwindow.plist

This file is used to set an application to launch at login. It should not be modified until the user has enabled such an option within the application. This option should not be enabled by default; the user must take the action of enabling it.

因此,我现在混淆不清,因为这种方法自第一次释放以来就已经存在,从来不是一个问题。 只有在用户将相应检查箱汇集到喜好中时,才能阅读或修改档案。

因此,在不再次被拒绝的情况下,我应如何在启动原项目中增加我的应用?

最佳回答

我再次提交,并在5小时内批准。 我没有接到过申请储存小组对我的支助要求的任何答复,尽管......

问题回答

我读了这段话:在不问用户的情况下,你可能无法作为标志性项目。





相关问题
Taking picture with QTCaptureView

Is it possible to simply take a picture and save it somewhere using a QTCaptureView and Apple s built-in iSight? I ve seen lots of tutorials on recording video but none on simply taking a picture. Any ...

Controlling OSX windows

I m trying to control windows of a foreign OSX applications from my application. I d like to 1. move the windows on the screen 2. resize the windows on the screen 3. change the currently active window ...

objective-c: Calling a void function from another controller

i have a void, like -(void) doSomething in a specific controller. i can call it in this controller via [self doSomething], but i don t know how to call this void from another .m file. I want to call ...

NSUndoManager and runModalForWindow:

I have a simple Core Data app which displays a list of entities in the main window. To create or add new entities, I use a second modal window with a separate managed object context so changes can be ...

NSMutableArray values becoming "invalid"

I m trying to show a database information in a tableview and then the detailed information in a view my problem is as follow: I created a NSMutableArray: NSMutableArray *myArray = [[NSMutableArray ...

How to get a flash url in a webpage using a webframe?

As we know , When we load frame from webpage of safari, we will invoke the delegate methods of webkit informal protocol(WebFrameLoadDelegate): webView:didStartProvisionalLoadForFrame: webView:...

热门标签