Trouble with InfoTemplate

Discussion created by ebrightc on Jul 22, 2011
Latest reply on Jul 22, 2011 by ebrightc
I am mapping points stored locally that I add into an AGSGraphicsLayer within a UIView.
I create the AGSGraphic points with the following code:

AGSGraphic *graphicPoint = [AGSGraphic graphicWithGeometry:wellsPoint symbol:oilSymbol attributes:attributes infoTemplateDelegate:spatialiteInfoTemplate];

//Adding the view to the mapView in the mapViewController
self.drawView = [[SpatialiteView alloc] initWithFrame:CGRectMake(0, 0, 768, 1024) envelope:envelopeArray];
[self.mapView addMapLayer:self.drawView.graphicsLayer withName:@"North Dakota Wells"]

The points show up fine on my mapView, but when i tap a point to get a callout, my app crashes.
I modeled my info template on other info templates that work fine applied to feature layers.
I assumed that the proper delegation is taken care of through the "graphicPoint" initializer method, passing the info template as the info template delegate, but apparently I am missing something.