示例#1
0
        public override void DidEnterBackground(UIApplication application)
        {
            // Use this method to release shared resources, save user data, invalidate timers and store the application state.
            // If your application supports background exection this method is called instead of WillTerminate when the user quits.

            Console.WriteLine("DidEnterBackground: Clearing stations cache.");
            StationsCache.ClearStationsCache();
        }
示例#2
0
        public override void DidReceiveMemoryWarning()
        {
            base.DidReceiveMemoryWarning();

            // Release any cached data, images, etc that aren't in use.
            Console.WriteLine("DidReceiveMemoryWarning: Clearing stations cache.");
            StationsCache.ClearStationsCache();
        }