jjzjj

buttonCaption

全部标签

iphone - -[__NSArrayM objectAtIndex :]: index 4294967295 beyond bounds for empty array with arc4random

编辑:我将arc4random()替换为arc4random_uniform()进行修复我正在使用试飞来监控坠机事故。一直在修复错误,但是我遇到了这个错误,我不确定为什么索引这么大。-[__NSArrayMobjectAtIndex:]:index4294967295beyondboundsforemptyarray很可能这就是bug所在for(NSUIntegeri=0;i导致此处崩溃//FrogNameCaptionNSString*tempCaption=[defaultFrogImageCaptionobjectAtIndex:[defaultFrogImageCaptionc