Hi again
Im trying to make my app run in background. What I want , is to download something from one server and when downloading finishes i want to pop to previous view controler. I tried with safe tasks but when my iPad locks and I unlock it and download hasnt finish my app terminates or cashes.
Posts
http://docs.xamarin.com/guides/cross-platform/application_fundamentals/backgrounding/part_1_introduction_to_backgrounding_in_ios/
see guide
I tried all of these my friend.
Btw I dont want to implement DidENterBackground . I want to make a task in viewWillAppear because i want after download to pop to previous view controller
any Task<...> / await async make crash? show some code pls.
Hi again
I tried to put my code in
but when my iPad gets locked and i try to unlock it after 5 seconds my app exits without any exception , just like we force quit it.
Then i tried to put my code in
InvokeOnMainThread(delegate{mycode});
same happens
Then i tried
InvokeInBackground(delegate{mycode});
same happens
and at last i tried to configure the info.plist file and add a background mode
I had no good results.
I really need your help
put here zip file with work sample illustrated your bug