Skip to content

Instantly share code, notes, and snippets.

@mallibone
Created April 28, 2016 20:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mallibone/58099b163906e70538e4ed9f1de4e4cb to your computer and use it in GitHub Desktop.
Save mallibone/58099b163906e70538e4ed9f1de4e4cb to your computer and use it in GitHub Desktop.
public override bool FinishedLaunching(UIApplication app, NSDictionary options)
{
#if ENABLE_TEST_CLOUD
Xamarin.Calabash.Start();
#endif
Forms.Init();
Forms.ViewInitialized += (object sender, ViewInitializedEventArgs e) => {
// http://developer.xamarin.com/recipes/testcloud/set-accessibilityidentifier-ios/
if (null != e.View.AutomationId)
{
e.NativeView.AccessibilityIdentifier = e.View.AutomationId;
}
};
LoadApplication(new App());
return base.FinishedLaunching(app, options);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment