this class is not key value coding-compliant for the key mapview

ios

Solution

Most probably you might have created an outlet called `mapview` and deleted it later. Check whether the outlets of MapView is broken in Xib/Storyboard.

Problem

I created application for MKMapView in iOS application to display map in my iPhone. while running i got this Error: ``` *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<ViewController 0x9847150> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key mapview.' *** ``` can any one help me to solve this problem? thanks in advance.

Original source

Related problems