Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/typo3/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Iphone 越狱iOS:如何从后台恢复(前台)_Iphone_Ios_Background_Jailbreak_Foreground - Fatal编程技术网

Iphone 越狱iOS:如何从后台恢复(前台)

Iphone 越狱iOS:如何从后台恢复(前台),iphone,ios,background,jailbreak,foreground,Iphone,Ios,Background,Jailbreak,Foreground,我有问题。我需要为越狱iOS解决这个问题。我的应用程序在后台模式下工作。我希望应用程序在一些事件之后从后台转到前台模式。 我尝试了下一个指令: system([[NSString stringWithFormat:@"uiopen \"%@\"", @"appname://"] UTF8String]) 但应用程序并没有从后台运行。应用程序作为新进程运行。 谢谢。用户专用API: int SBSLaunchApplicationWithIdentifier(CFStringRef dis

我有问题。我需要为越狱iOS解决这个问题。我的应用程序在后台模式下工作。我希望应用程序在一些事件之后从后台转到前台模式。 我尝试了下一个指令:

system([[NSString stringWithFormat:@"uiopen \"%@\"", @"appname://"] UTF8String])
但应用程序并没有从后台运行。应用程序作为新进程运行。 谢谢。

用户专用API:

   int SBSLaunchApplicationWithIdentifier(CFStringRef displayIdentifier, Boolean suspended);
它在SpringboardServices私有框架中定义


您需要添加权限“com.apple.springboard.launchapplications”才能正常工作。

I添加权限:com.apple.springboard.launchapplications,并添加说明:BSLaunchApplicationWithIdentifier(CFSTR(“app.id”),NO);但当我构建我的应用程序时,出现了错误:“架构armv7的未定义符号:“\u BSLaunchApplicationWithIdentifier”,引用自:\u displayStatusChanged in GlobusAppDelegate.o ld:symbol未找到架构armv7 clang:error:linker命令失败,退出代码为1(使用-v查看调用)”。如何在我的项目中添加SpringboardServices框架???非常感谢。首先它是“SBSLaunchApplicationWithIdentifier”,而不是“BSLaunchApplicationWithIdentifier”。看看这些关于向项目中添加私有框架的问题:所以,我成功地添加了私有框架,但我遇到了新的问题。我必须如何正确添加权限?我接着做了:1。使用com.apple.springboard.launchapplications 2创建文件123.xml。执行了下一个指令。/ldid-S123.xml AppName.app/AppName,但在此之后,ldid没有完成,需要输入一些内容(没有写入我必须输入的内容,只需输入空行。我必须按ctrl+z退出)@kvorelance:请编写一个单独的问题(为每个问题编写一个问题是很好的堆栈溢出实践)。并在这个问题中提供更多细节,说明哪些功能在您的案例中不起作用,以及它是如何失效的。