2011-03-20 123 views
0

对不起,如果这是错误的4ms,但我似乎有一个在标签栏应用程序中的选项卡上加载游戏的问题。当我运行的应用程序,并在选项卡上单击游戏应该继续下去,它崩溃给我这个控制台:标签栏帮助?

2011-03-20 08:36:29.311 ComputerClan[21592:207] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIViewController 0x6948f30> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key racquet_green.' 
*** Call stack at first throw: 
(
    0 CoreFoundation      0x017ea5a9 __exceptionPreprocess + 185 
    1 libobjc.A.dylib      0x0193e313 objc_exception_throw + 44 
    2 CoreFoundation      0x017ea4e1 -[NSException raise] + 17 
    3 Foundation       0x001a7677 _NSSetUsingKeyValueSetter + 135 
    4 Foundation       0x001a75e5 -[NSObject(NSKeyValueCoding) setValue:forKey:] + 285 
    5 UIKit        0x0062b30c -[UIRuntimeOutletConnection connect] + 112 
    6 CoreFoundation      0x017608cf -[NSArray makeObjectsPerformSelector:] + 239 
    7 UIKit        0x00629d23 -[UINib instantiateWithOwner:options:] + 1041 
    8 UIKit        0x0062bab7 -[NSBundle(UINSBundleAdditions) loadNibNamed:owner:options:] + 168 
    9 UIKit        0x004e1628 -[UIViewController _loadViewFromNibNamed:bundle:] + 70 
    10 UIKit        0x004df134 -[UIViewController loadView] + 120 
    11 UIKit        0x004df00e -[UIViewController view] + 56 
    12 UIKit        0x004dd482 -[UIViewController contentScrollView] + 42 
    13 UIKit        0x004edf25 -[UINavigationController _computeAndApplyScrollContentInsetDeltaForViewController:] + 48 
    14 UIKit        0x004ec555 -[UINavigationController _layoutViewController:] + 43 
    15 UIKit        0x004ed7aa -[UINavigationController _startTransition:fromViewController:toViewController:] + 326 
    16 UIKit        0x004e832a -[UINavigationController _startDeferredTransitionIfNeeded] + 266 
    17 UIKit        0x004ef562 -[UINavigationController pushViewController:transition:forceImmediate:] + 932 
    18 UIKit        0x004e81c4 -[UINavigationController pushViewController:animated:] + 62 
    19 UIKit        0x004f469a -[UIMoreNavigationController pushViewController:animated:] + 105 
    20 UIKit        0x004a6b68 -[UITableView _selectRowAtIndexPath:animated:scrollPosition:notifyDelegate:] + 1140 
    21 UIKit        0x0049cb05 -[UITableView _userSelectRowAtPendingSelectionIndexPath:] + 219 
    22 Foundation       0x001ae79e __NSFireDelayedPerform + 441 
    23 CoreFoundation      0x017cb8c3 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 19 
    24 CoreFoundation      0x017cce74 __CFRunLoopDoTimer + 1220 
    25 CoreFoundation      0x017292c9 __CFRunLoopRun + 1817 
    26 CoreFoundation      0x01728840 CFRunLoopRunSpecific + 208 
    27 CoreFoundation      0x01728761 CFRunLoopRunInMode + 97 
    28 GraphicsServices     0x01dda1c4 GSEventRunModal + 217 
    29 GraphicsServices     0x01dda289 GSEventRun + 115 
    30 UIKit        0x0043dc93 UIApplicationMain + 1160 
    31 ComputerClan      0x00002b02 main + 84 
    32 ComputerClan      0x00002aa5 start + 53 
) 
terminate called after throwing an instance of 'NSException' 

可能有人帮助吗?

感谢

乔纳森

+0

您能否提供与此相符的代码。标签栏代码 – Andrew 2011-03-20 18:42:53

+0

http://pastie.org/1693072 http://pastie.org/1693076 – 2011-03-20 18:50:26

回答

0

看来,如果你在你要加载的厦门国际银行的问题。确保没有无效的连接,即与不存在的IBOutlet或IBActions的连接。还要确保你没有定义任何对象为不存在的类。

+0

已确认,但视图应该连接到“视图”? – 2011-03-20 16:13:26

+0

这是我的连接图片。 – 2011-03-20 16:28:34

+0

http://cl.ly/160d3d1O1M2r0L291S07 – 2011-03-20 16:30:40