gpt4 book ai didi

xcode - 在uitextview中选择文本时,应用程序崩溃

转载 作者:行者123 更新时间:2023-12-03 16:01:28 25 4
gpt4 key购买 nike

我正在编写应该是一个非常简单的应用程序,其中一方面是uitextview。该 View 将加载并且可滚动而没有任何麻烦,但是如果用户尝试按住以选择一些文本,则该应用程序将崩溃:

2012-07-30 23:07:01.547 SASB[36340:c07] +[_UIDictionaryWrapper _availableDictionaryAssets] returned failed - retrying. Error: Error Domain=ASError Code=4 "The operation couldn’t be completed. (ASError error 4 - Unable to copy asset information)" UserInfo=0xaa64b90 {NSDescription=Unable to copy asset information} SASB(36340,0xac2a7a28) malloc: * error for object 0xaa611a0: double free * set a breakpoint in malloc_error_break to debug (lldb)



我不知道为什么会这样。在最佳情况下,我不太擅长调试,但这只会使我回到main.m文件中:
#import <UIKit/UIKit.h>

int main(int argc, char *argv[])
{
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
int retVal = UIApplicationMain(argc, argv, nil, nil);
[pool release];
return retVal;
}

任何帮助将不胜感激。

最佳答案

糟糕!

看来这可能是Xcode 4.5 Beta中的错误。我完全忘记了我甚至在使用Beta。猜猜我现在必须跳过IOS6功能:)

关于xcode - 在uitextview中选择文本时,应用程序崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11724415/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com