As I found, there are 2 seperate methods for iOS 5 vrs 6 - the new one returns a list of locations, the old one is just one. You have to check the version - and Xamarin should be doing this in Xamarin.Geolocation for you :)
On Thu, Sep 27, 2012 at 8:31 AM, Craig Dunn <[email protected]> wrote: > basically it says: > > (as of September 20th) "The currently available binaries are now compiled > for MonoTouch 6." > http://xamarin.com/mobileapi > > if you're using the mobileAPI (Xamarin.Geolocation) maybe try downloading > the latest from that link? > > > On Thu, Sep 27, 2012 at 5:21 PM, Rolf Bjarne Kvinge <[email protected]> > wrote: >> >> Hi, >> >> See this: https://bugzilla.xamarin.com/show_bug.cgi?id=7331 >> >> Rolf >> >> On Thu, Sep 27, 2012 at 3:56 AM, technohead <[email protected]> >> wrote: >>> >>> Hi, >>> I've just recently upgraded to MT 6.0 and tried recompiling some >>> pre-existing code that was working in MT 5.4. I'm getting the runtime >>> error: >>> "Method not found: >>> MonoTouch.CoreLocation.CLLocationManager.add_AuthorizationChanged'." when >>> trying to create an instance of Geolocator using the following code: >>> >>> Geolocator geolocator = new Geolocator { DesiredAccuracy = 10 }; >>> >>> I have not installed XCode 4.5 so am still compiling against iOS SDK >>> 5.1. >>> I am currently avoiding installing 4.5 because I still want to be able to >>> compile apps for arm V6. Is this a bug or does this require an upgrade of >>> the iOS SDK? >>> >>> Dennis >>> >>> >>> >>> -- >>> View this message in context: >>> http://monotouch.2284126.n4.nabble.com/Error-in-creating-GeoLocation-since-MT-6-0-tp4657263.html >>> Sent from the MonoTouch mailing list archive at Nabble.com. >>> _______________________________________________ >>> MonoTouch mailing list >>> [email protected] >>> http://lists.ximian.com/mailman/listinfo/monotouch >> >> >> >> _______________________________________________ >> MonoTouch mailing list >> [email protected] >> http://lists.ximian.com/mailman/listinfo/monotouch >> > > > _______________________________________________ > MonoTouch mailing list > [email protected] > http://lists.ximian.com/mailman/listinfo/monotouch > -- Nic Wise t. +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise b. http://www.fastchicken.co.nz/ mobileAgent (for FreeAgent): get your accounts in your pocket. http://goo.gl/IuBU Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa Earnest: Self-employed? Track your business expenses and income. http://earnestapp.com Nearest Bus: find when the next bus is coming to your stop. http://goo.gl/Vcz1p London Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2 _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
