从我阅读的文档中:
Return Value true if the job was removed successfully,otherwise
false.
我打电话给以下人员删除这份工作:
result = SMJobRemove(kSMDomainSystemlaunchd,(__ brIDge CFStringRef)label,_authref,YES,& errorCF);
怀疑你必须自己删除文件或使用以下内容:(取自Apple dev论坛:)
总结SMJobRemove is the equivalent of “launchctl remove”. That is,it removes the job from launchd but has no effect on the disk at all. Thus the job will get reloaded the next time you start up. To get around that you have to either remove the pList yourself or by fork/exec’ing “launchctl unload -w”.
以上是内存溢出为你收集整理的objective-c – SMJobRemove成功,但plist和helper工具未删除全部内容,希望文章能够帮你解决objective-c – SMJobRemove成功,但plist和helper工具未删除所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)