POIs are delivered to the app using the Region-events. Please see example below:
- (void)indoorLocationManager:(IALocationManager *)manager didEnterRegion:(IARegion *)region
{
[super indoorLocationManager:manager didEnterRegion:region];
if (region.type == kIARegionTypeFloorPlan) {
[self removeAnnotations];
self.annotations = [NSMutableArray array];
for (IAPOI *poi in self.venue.pois) {
if (region.floorplan.floor && poi.floor.level != region.floorplan.floor.level)
continue;
POIAnnotation *point = [POIAnnotation new];
point.title = poi.name;
point.subtitle = poi.description;
point.coordinate = poi.coordinate;
point.floor = poi.floor.level;
[self.annotations addObject:point];
}
[self.mapView addAnnotations:self.annotations];
} else if (region.type == kIARegionTypeVenue) {
self.venue = region.venue;
}
}