I was working through chapter 18. The segmented controls worked fine. But when I attempted to implement the code to set the segmented control default the app blows up on my iPhone 4S under iOS 5.1.1. I get this error:
2012-09-09 12:21:35.511 Whereami[7336:707] -[WhereamiViewController changeMaptype:]: unrecognized selector sent to instance 0x18aca0
2012-09-09 12:21:35.515 Whereami[7336:707] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[WhereamiViewController changeMaptype:]: unrecognized selector sent to instance 0x18aca0'
I played around with it for awhile to make sure everything I typed was fine and it was. So I gave up and loaded in the same app from the book’s code sample repository for Chapter 18 and it blows up to in exactly the same way.