Created
April 28, 2016 20:47
-
-
Save mallibone/58099b163906e70538e4ed9f1de4e4cb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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