SplashScreen.cs 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. using System;
  2. using System.Drawing;
  3. using Foundation;
  4. using UIKit;
  5. namespace TwitterSearch.iOS
  6. {
  7. public partial class SplashScreen : UIViewController
  8. {
  9. static bool UserInterfaceIdiomIsPhone
  10. {
  11. get { return UIDevice.CurrentDevice.UserInterfaceIdiom == UIUserInterfaceIdiom.Phone; }
  12. }
  13. public SplashScreen(IntPtr handle)
  14. : base(handle)
  15. {
  16. }
  17. public override void DidReceiveMemoryWarning()
  18. {
  19. // Releases the view if it doesn't have a superview.
  20. base.DidReceiveMemoryWarning();
  21. // Release any cached data, images, etc that aren't in use.
  22. }
  23. #region View lifecycle
  24. public override void ViewDidLoad()
  25. {
  26. base.ViewDidLoad();
  27. // Perform any additional setup after loading the view, typically from a nib.
  28. }
  29. public override void ViewWillAppear(bool animated)
  30. {
  31. base.ViewWillAppear(animated);
  32. }
  33. public override void ViewDidAppear(bool animated)
  34. {
  35. base.ViewDidAppear(animated);
  36. }
  37. public override void ViewWillDisappear(bool animated)
  38. {
  39. base.ViewWillDisappear(animated);
  40. }
  41. public override void ViewDidDisappear(bool animated)
  42. {
  43. base.ViewDidDisappear(animated);
  44. }
  45. #endregion
  46. }
  47. }