Hi, My FinishedLaunching completes in about half a second. It's just taking 17 seconds before that gets called.
Dino -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Alan Sent: Wednesday, May 30, 2012 4:11 To: HairyJohn Cc: [email protected] Subject: Re: [MonoTouch] Speeding up startup Hi, Have you tried moving all logic out of the 'FinishedLaunching' override? You should not be doing expensive initialisation synchronously for precisely this reason - iOS will kill your app if it takes too long. For example wrap code in a Task which will execute on the background thread. You need to ensure you only touch the UI from your main thread though, http://docs.xamarin.com/ios/advanced_topics/threading . Alan On 30 May 2012 09:52, HairyJohn <[email protected]> wrote: > I have the same problem with my app on my old 3G iPhone that I use to > test with iOS4. So would also be interested in any optimizations that > we can make. > > Cheers > Hairy > > -- > View this message in context: > http://monotouch.2284126.n4.nabble.com/Speeding-up-startup-tp4655096p4 > 655102.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
