About an exception

Discussion in 'iOS Programming' started by iphonejudy, Aug 11, 2009.

  1. iphonejudy macrumors 6502


    Sep 12, 2008
    I created a UIViewcontroller called ParentView and added 4 views(ChildView1,ChildView2,ChildView3,ChildView4)(UIViewcontrollers) in the scrollviewof a ParentView

    When i run the application ,I got the following error.

    Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIViewController 0x106f600> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key baseImage1

    Can anyone tell me the solution?
  2. PhoneyDeveloper macrumors 68040


    Sep 2, 2008
    Are you doing this with IB? Probably you don't have the IBOutlet baseImage1 set up correctly. Either it doesn't exist but IB thinks it does exist or something isn't connected correctly.

Share This Page