I need some code which can be used outside of the mk* functions. I need to run my custom function to bring the FIRST and LAST markers in an array to the front. (so on top of all the other markers on my screen). I have tried
[self.view bringSubviewToFront:[[mapView annotations]objectAtIndex: 0]];
I have used [[mapView annotations]objectAtIndex: 0]
in my code and that works, but it crashes when I try to bring this to the front. Am I accessing the wrong layer or something?
thanks for any help.