Crash with didUpdateUserLocation


As the title says, just when I write in the code the function - (void)mapView:(MKMapView *)mapView didUpdateUserLocation:(MKUserLocation *)userLocation
. Even with the function empty it crashes. If I don’t write it the program works perfect, it gets my position. All the code is copied from the solutions that are provided, apart from that I am using a single view project in Xcode 4.2 with storyboard.

This is what I get when the program crashes

2011-11-25 22:24:26.708 Whereami[2742:11603] -[__NSCFString mapView:didUpdateUserLocation:]: unrecognized selector sent to instance 0x7d6aab0
2011-11-25 22:24:26.715 Whereami[2742:11603] *** Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘-[__NSCFString mapView:didUpdateUserLocation:]: unrecognized selector sent to instance 0x7d6aab0’
*** First throw call stack:
(0x13a6052 0x1ff1d0a 0x13a7ced 0x130cf00 0x130cce2 0x24fb3 0x13a7e72 0x1303c78 0xa458 0xa591 0xbfde 0xe823a 0xe7bb6 0xe66dd 0xe2e1b 0x137a9a0 0x131a1f1 0x12dd997 0x12dcdb4 0x12dcccb 0x15bc879 0x15bc93e 0x170a9b 0x2538 0x2495 0x1)
terminate called throwing an exceptionsharedlibrary apply-load-rules all



actually, Ive managed to make it work with the .xib files, so there must be any change with storyboards…if any of u know what should I do to make it work I would really appreciate that!