Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

ios

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.

like image 378
Augustin A Avatar asked Mar 27 '14 13:03

Augustin A


1 Answers

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.

like image 100
Anil Varghese Avatar answered Sep 28 '22 05:09

Anil Varghese