在iOS 7.1设置中打开/关闭iCloud时,iCloud启用的应用程序会冻结

时间:2014-03-20 20:39:49

标签: ios objective-c cocoa icloud

在我在设备上运行并在系统Settings > iCloud > Documents and Data中切换应用程序命名的开关时,新添加了iCloud支持的应用程序(基本上只添加了权利字符串并且Xcode iCloud交换机切换,没有任何iCloud相关代码)冻结

Thread 1, Queue : com.apple.main-thread
#0  0x3b3a7a58 in mach_msg_trap ()
#1  0x3b3a7858 in mach_msg ()
#2  0x3067989a in __CFRunLoopServiceMachPort ()
#3  0x30678006 in __CFRunLoopRun ()
#4  0x305e2f4e in CFRunLoopRunSpecific ()
#5  0x305e2d32 in CFRunLoopRunInMode ()
#6  0x35504662 in GSEventRunModal ()
#7  0x32f2e16c in UIApplicationMain ()
#8  0x0005013c in main at main.m:16

Xcode在main.m中报告此行:

return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); < Thread 1: signal SIGKILL

更新 好。我明白了,这是标准的iOS行为。当用户更改该设置时,应用程序会收到SIGKILL信号。但为什么?这背后的原因是什么?

0 个答案:

没有答案