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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With