Xpjproject/pjsip-apps/src/swig/csharp/pjsua2xamarin/pjsua2xamarin.iOS/AppDelegate.cs
raw symbols SCIP| 1 | using System; |
| 2 | using System.Collections.Generic; |
| 3 | using System.Linq; |
| 4 | |
| 5 | using Foundation; |
| 6 | using UIKit; |
| 7 | |
| 8 | namespace pjsua2xamarin.iOS |
| 9 | { |
| 10 | // The UIApplicationDelegate for the application. This class is responsible for launching the |
| 11 | // User Interface of the application, as well as listening (and optionally responding) to |
| 12 | // application events from iOS. |
| 13 | [Register("AppDelegate")] |
| 14 | public partial class AppDelegate : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate |
| 15 | { |
| 16 | // |
| 17 | // This method is invoked when the application has loaded and is ready to run. In this |
| 18 | // method you should instantiate the window, load the UI into it and then make the window |
| 19 | // visible. |
| 20 | // |
| 21 | // You have 17 seconds to return from this method, or iOS will terminate your application. |
| 22 | // |
| 23 | public override bool FinishedLaunching(UIApplication app, NSDictionary options) |
| 24 | { |
| 25 | global::Xamarin.Forms.Forms.Init(); |
| 26 | LoadApplication(new App()); |
| 27 | |
| 28 | return base.FinishedLaunching(app, options); |
| 29 | } |
| 30 | } |
| 31 | } |
| 32 |