Ejemplo n.º 1
0
        //
        // This method is invoked when the application has loaded and is ready to run. In this
        // method you should instantiate the window, load the UI into it and then make the window
        // visible.
        //
        // You have 17 seconds to return from this method, or iOS will terminate your application.
        //
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            global::Xamarin.Forms.Forms.Init();
            LoadApplication(new App());

            IQKeyboardManager.SharedManager().EnableAutoToolbar                   = true;
            IQKeyboardManager.SharedManager().ShouldPlayInputClicks               = false;
            IQKeyboardManager.SharedManager().ShouldResignOnTouchOutside          = true;
            IQKeyboardManager.SharedManager().ShouldToolbarUsesTextFieldTintColor = true;

            return(base.FinishedLaunching(app, options));
        }
Ejemplo n.º 2
0
        //
        // This method is invoked when the application has loaded and is ready to run. In this
        // method you should instantiate the window, load the UI into it and then make the window
        // visible.
        //
        // You have 17 seconds to return from this method, or iOS will terminate your application.
        //
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            global::Xamarin.Forms.Forms.Init();
            LoadApplication(new App());

            IQKeyboardManager.SharedManager().Enable = true;
            IQKeyboardManager.SharedManager().ShouldResignOnTouchOutside   = true;
            IQKeyboardManager.SharedManager().ToolbarManageBehaviour       = IQAutoToolbarManageBehaviour.Position;
            IQKeyboardManager.SharedManager().EnableAutoToolbar            = true;
            IQKeyboardManager.SharedManager().ShouldShowToolbarPlaceholder = true;

            return(base.FinishedLaunching(app, options));
        }
Ejemplo n.º 3
0
 public override void ViewDidLoad()
 {
     IQKeyboardManager.SharedManager().EnableAutoToolbar                   = true;
     IQKeyboardManager.SharedManager().ShouldResignOnTouchOutside          = true;
     IQKeyboardManager.SharedManager().ShouldToolbarUsesTextFieldTintColor = true;
 }