Forum General

How to do background task functionality in IOS using Xamarin.forms

pdattu123pdattu123 Member ✭✭

Actually I am trying to background task functionality so I written code as follows..

public override bool FinishedLaunching(UIApplication app, NSDictionary options)
LoadApplication(new App());
return base.FinishedLaunching(app, options);

public override void PerformFetch(UIApplication application, Action completionHandler)
base.PerformFetch(application, completionHandler);
Helper.Value = DateTime.Now.ToShortDateString();

but set MINIMUM_BACKGROUND_FETCH_INTERVAL 10 sec; after 10 sec this PerformFetch is not calling ... please tell me how to resolve this issue..


Sign In or Register to comment.