I did the assignment in Xcode 4.2 and IOS 5.0. The map location is found, but then when I click in the text field nothing happens. I compared every setting in the solution from this site and I can’t figure out what is wrong. What do I do now?
I figured it out. In the method didFinishLaunchingWithOptions I had the line
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
I don’t understand why this causes the textField not to become active though. Can you explain? I used the Empty Application template when I created the project and had to create my own MainWindow.xib file. Should I have used a different template?
If you created your own XIB with a window instance and allocated another window instance programmatically, the windows most likely got mixed up. Probably, the key window doesn’t have the text field, the other instance does.