Whereami(?)


#1

So I made it through the last part of the Whereami app where we create and instantiate the MapPoint class.

However when I run the app and enter text into the text field I only get a red pin on my current location - I don’t actually see the text label.

I run the debugger and MapPoint’s title property is being set properly. It’s just not showing up in the view, for some reason.

Ideas?


#2

Figured it out. I had declared the title property incorrectly (wrong attributes) and was getting a compile warning. To get around it I created my own getter/setter instead of using @property/@synthesize.

Despite confirming that the title was in fact being set, apparently that’s not sufficient to get the annotation to display the title. Not sure why that is.

When I resort to using the property declarations (correctly) the app works.

mb