Setting up the SpeechTalk.iOS project
Let's also have a look at the project setup on the native side for iOS and Android. Open the AppDelegate.cs
file; it should look like this:
[Register ("AppDelegate")] public partial class AppDelegate : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate { public override bool FinishedLaunching (UIApplication app, NSDictionary options) { global::Xamarin.Forms.Forms.Init (); LoadApplication (new App ()); return base.FinishedLaunching (app, options); } }
Have a look at the super class:
global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate
Since Xamarin.Forms
1.3.1 and the updated unified API, all our app delegate should be inheriting is Xamarin.Forms.Platform.iOS.FormsApplicationDelegate
. We also have the standard FinishedLaunching
function; in here we must call Forms.Init
which will initialize...