0

I'm trying to set a custom callout view with a xib I created however it doesn't show up. When I tap in a pin the app is crashing and show the follow error

enter image description here

It's anyone that can help me? You can find the code here. https://github.com/andreasvas/xcode

Abra
  • 19,142
  • 7
  • 29
  • 41

1 Answers1

0

In interface builder for your CalloutView.xib;

  • Make sure File's Owner is blank (NSObject). And don't forget to remove outlet references.
  • CalloutViewController is a UIView subclass, So set it for the top most UIView, not the `File's Owner'. And don't forget to re-hook your outlets.
Desdenova
  • 5,326
  • 8
  • 37
  • 45