AppDelegate.cs 847 B

12345678910111213141516171819202122232425262728293031323334
  1. using Foundation;
  2. using UIKit;
  3. namespace Flocking.iOS
  4. {
  5. [Register("AppDelegate")]
  6. public partial class AppDelegate : UIApplicationDelegate
  7. {
  8. private FlockingSample game;
  9. public override bool FinishedLaunching(UIApplication app, NSDictionary options)
  10. {
  11. game = new FlockingSample();
  12. game.Run();
  13. return true;
  14. }
  15. public override void OnActivated(UIApplication application)
  16. {
  17. // Handle when your app is activated
  18. }
  19. public override void WillEnterForeground(UIApplication application)
  20. {
  21. // Handle when your app returns to the foreground
  22. }
  23. public override void DidEnterBackground(UIApplication application)
  24. {
  25. // Handle when your app goes to background
  26. }
  27. }
  28. }