Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

iphonejudy

macrumors 6502
Original poster
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?
 
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.