I use Mono 2.10.9, MonoDevelop 3.0.1, Monotouch 5.2.11 and Xcode 4.3.2. My application is a basic map application with custom annotation views whose coordinates are loaded from the network on startup. I have declared my map controller view inside my AppDelegate class as a class variable and I use it inside my tab bar controller which is also the root controller of the application. Also inside my map view controller, I have a list with objects above the GetViewForAnnotation method for storing the newly created pinviews for avoiding the GC to collect them too early (as in xamarin's mapcallouts example. In fact, my code is almost identical with this example).
My issue is that the application runs fine, that is the annotations are viewable, on an iphone 4 with iOS 4.3.1. I use the option 4.3 as its deployment target and it is ok. In Xcode's iOS 5.1 simulator, it is ok too. But when I test it on a iphone 4 with iOS 5.1 having as deployment target either the 4.3 or the 5.1 option, everything is ok except for the pinviews which are not viewable. I don't get any SIGSEGV error or anything else that might indicate that I am probably having a garbage collector problem, so I am stuck. Any idea would be extremely helpful. -- View this message in context: http://monotouch.2284126.n4.nabble.com/Custom-map-annotations-viewable-in-iOS-4-but-not-in-iOS-5-1-tp4655099.html Sent from the MonoTouch mailing list archive at Nabble.com. _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
